[Ffmpeg-devel] [PATCH] CRYO APC demuxer

Reimar Döffinger Reimar.Doeffinger
Sat Apr 7 15:02:12 CEST 2007


Hello,
On Sat, Apr 07, 2007 at 02:18:20PM +0200, Alex Beregszaszi wrote:
> > 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

I don't think that's too important, it might reduce overhead a bit with
high bitrate files, but not sure it matters much. And also, the wav
demuxer doesn't do it either.

Greetings,
Reimar D?ffinger

> 
> --
> Alex Beregszaszi
> 
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list