Return the amount of input data actually used in the qdm2 decoder,

allows playback of files where multiple qdm2 packets have been merged.

Originally committed as revision 25943 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Reimar Döffinger 14 years ago
parent d5f187fd33
commit 0c1758f018
  1. 2
      libavcodec/qdm2.c

@ -1971,7 +1971,7 @@ static int qdm2_decode_frame(AVCodecContext *avctx,
*data_size = (uint8_t*)out - (uint8_t*)data;
return buf_size;
return s->checksum_size;
}
AVCodec qdm2_decoder =

Loading…
Cancel
Save