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

mstorsjo subversion
Thu Aug 26 09:39:35 CEST 2010


Author: mstorsjo
Date: Thu Aug 26 09:39:34 2010
New Revision: 24938

Log:
Flush the PutBitsContext at the end of each block when encoding ADPCM IMA QT

Modified:
   trunk/libavcodec/adpcm.c

Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c	Thu Aug 26 02:41:40 2010	(r24937)
+++ trunk/libavcodec/adpcm.c	Thu Aug 26 09:39:34 2010	(r24938)
@@ -578,6 +578,7 @@ static int adpcm_encode_frame(AVCodecCon
             }
         }
 
+        flush_put_bits(&pb);
         dst += put_bits_count(&pb)>>3;
         break;
     }



More information about the ffmpeg-cvslog mailing list