On 03/18/2012 01:15 PM, Ronald S. Bultje wrote: > --- > libavcodec/adpcm.c | 27 ++++++++++++++------------- > 1 files changed, 14 insertions(+), 13 deletions(-) [...] > @@ -1239,7 +1240,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, > void *data, > *got_frame_ptr = 1; > *(AVFrame *)data = c->frame; > > - return src - buf; > + return src == buf ? bytestream2_tell(&gb) : src - buf; > }
Do you plan on removing the src == buf check after all adpcm decoders use bytestream2? -Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
