[FFmpeg-cvslog] r15596 - trunk/libavcodec/nellymoserenc.c

ramiro subversion
Sat Oct 11 16:52:00 CEST 2008


Author: ramiro
Date: Sat Oct 11 16:52:00 2008
New Revision: 15596

Log:
nellymoserenc: flush PutBitContext after use.

Modified:
   trunk/libavcodec/nellymoserenc.c

Modified: trunk/libavcodec/nellymoserenc.c
==============================================================================
--- trunk/libavcodec/nellymoserenc.c	(original)
+++ trunk/libavcodec/nellymoserenc.c	Sat Oct 11 16:52:00 2008
@@ -331,6 +331,8 @@ static void encode_block(NellyMoserEncod
         if (!block)
             put_bits(&pb, NELLY_HEADER_BITS + NELLY_DETAIL_BITS - put_bits_count(&pb), 0);
     }
+
+    flush_put_bits(&pb);
 }
 
 static int encode_frame(AVCodecContext *avctx, uint8_t *frame, int buf_size, void *data)




More information about the ffmpeg-cvslog mailing list