changeset 10956:16db91dd49eb libavcodec

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.
author mru
date Thu, 21 Jan 2010 12:57:24 +0000
parents fdddf3d4238f
children 0c50a3c33c03
files adpcm.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/adpcm.c	Thu Jan 21 09:46:57 2010 +0000
+++ b/adpcm.c	Thu Jan 21 12:57:24 2010 +0000
@@ -1664,6 +1664,7 @@
     NULL,                                       \
     adpcm_decode_frame,                         \
     .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
+    .capabilities = CODEC_CAP_SUBFRAMES,        \
 };
 #else
 #define ADPCM_DECODER(id,name,long_name_)