aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-21 12:57:24 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-21 12:57:24 +0000
commit2a58e457244025d21b1d07d62e3e8a61ef9af030 (patch)
tree24fafc9ffe3ae8f77b1670b8c38e58997467d950 /libavcodec
parent01cc47dcd39738b73e5e6485e4c58e6abbe29363 (diff)
downloadffmpeg-2a58e457244025d21b1d07d62e3e8a61ef9af030.tar.gz
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/adpcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 6abe18495c..8d711b5824 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -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_)