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
1 changed files with 1 additions and 0 deletions

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_)