1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Set CODEC_CAP_SUBFRAMES for adpcm decoders

This makes ffmpeg stop printing millions of
  Multiple frames in a packet from stream 0
when decoding adpcm.

Originally committed as revision 21362 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-01-21 12:57:24 +00:00
parent 01cc47dcd3
commit 2a58e45724

View File

@ -1664,6 +1664,7 @@ AVCodec name ## _decoder = { \
NULL, \
adpcm_decode_frame, \
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
.capabilities = CODEC_CAP_SUBFRAMES, \
};
#else
#define ADPCM_DECODER(id,name,long_name_)