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 -- Alex Beregszaszi