[FFmpeg-cvslog] r21362 - trunk/libavcodec/adpcm.c

mru subversion
Thu Jan 21 13:57:24 CET 2010


Author: mru
Date: Thu Jan 21 13:57:24 2010
New Revision: 21362

Log:
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.

Modified:
   trunk/libavcodec/adpcm.c

Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c	Thu Jan 21 10:47:02 2010	(r21361)
+++ trunk/libavcodec/adpcm.c	Thu Jan 21 13:57:24 2010	(r21362)
@@ -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_)



More information about the ffmpeg-cvslog mailing list