diff adpcm.c @ 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 690fa44735ed
children 9b5939c66874
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_)