Lines Matching defs:buf
69 static inline void get_strl(AVIOContext *pb, char *buf, int buf_size, int len)
71 int read = avio_get_str(pb, len, buf, buf_size);
77 static void get_str8(AVIOContext *pb, char *buf, int buf_size)
79 get_strl(pb, buf, buf_size, avio_r8(pb));
93 char buf[1024];
99 get_strl(pb, buf, sizeof(buf), len);
100 av_dict_set(&s->metadata, ff_rm_metadata[i], buf, 0);
126 char buf[256];
143 get_str8(pb, buf, sizeof(buf));
190 avio_read(pb, buf, 4);
191 buf[4] = 0;
193 AV_WL32(buf, 0);
194 get_str8(pb, buf, sizeof(buf)); /* desc */
195 ast->deint_id = AV_RL32(buf);
196 get_str8(pb, buf, sizeof(buf)); /* desc */
199 st->codecpar->codec_tag = AV_RL32(buf);
551 char buf[128], mime[128];
615 get_str8(pb, buf, sizeof(buf)); /* desc */
1080 if ((p->buf[0] == '.' && p->buf[1] == 'R' &&
1081 p->buf[2] == 'M' && p->buf[3] == 'F' &&
1082 p->buf[4] == 0 && p->buf[5] == 0) ||
1083 (p->buf[0] == '.' && p->buf[1] == 'r' &&
1084 p->buf[2] == 'a' && p->buf[3] == 0xfd))
1171 if (memcmp(p->buf, ".R1M\x0\x1\x1", 7) &&
1172 memcmp(p->buf, ".REC", 4))