[FFmpeg-devel] [PATCH] Set CODEC_CAP_SUBFRAMES for adpcm decoders
Mans Rullgard
mans
Thu Jan 21 01:47:25 CET 2010
This makes ffmpeg stop printing millions of
Multiple frames in a packet from stream 0
when decoding adpcm.
---
libavcodec/adpcm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 6abe184..8d711b5 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_)
--
1.6.6
More information about the ffmpeg-devel
mailing list