[Ffmpeg-devel] [PATCH] CRYO APC demuxer

Anssi Hannula anssi.hannula
Sat Apr 7 14:26:51 CEST 2007


Alex Beregszaszi wrote:
> Hi,
> 
>> Attached is a patch implementing a demuxer for CRYO APC, a simple audio
>> format using ADPCM encoding.
> 
> +    if (av_get_packet(&s->pb, pkt, 4096) <= 0)
> +        return AVERROR_IO;
> 
> You should read packets based on sample_rate and channels

You mean to read exactly one second worth of packets?

If you don't mind me asking, what difference does it make?

-- 
Anssi Hannula





More information about the ffmpeg-devel mailing list