diff nellymoserenc.c @ 8019:dea517f771aa libavcodec

nellymoserenc: flush PutBitContext after use.
author ramiro
date Sat, 11 Oct 2008 14:52:00 +0000
parents 152573e499c9
children 96aadb5e4fd6
line wrap: on
line diff
--- a/nellymoserenc.c	Sat Oct 11 11:21:45 2008 +0000
+++ b/nellymoserenc.c	Sat Oct 11 14:52:00 2008 +0000
@@ -331,6 +331,8 @@
         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)