43 if (!memcmp(p->
buf,
"NuppelVideo", 12))
45 if (!memcmp(p->
buf,
"MythTVVideo", 12))
51 #define PKTSIZE(s) (s & 0xffffff)
73 if (vst && subtype ==
'R') {
134 is_mythtv = !memcmp(id_string,
"MythTVVideo", 12);
144 if (aspect > 0.9999 && aspect < 1.0001)
156 ctx->
v_id = stream_nr++;
172 ctx->
a_id = stream_nr++;
178 ast->codec->channels = 2;
179 ast->codec->sample_rate = 44100;
180 ast->codec->bit_rate = 2 * 2 * 44100 * 8;
181 ast->codec->block_align = 2 * 2;
182 ast->codec->bits_per_coded_sample = 16;
205 return ret < 0 ? ret :
AVERROR(EIO);
229 memcpy(pkt->
data, hdr, copyhdrsize);
249 if (ret < 0)
return ret;