changeset 8019:dea517f771aa libavcodec

nellymoserenc: flush PutBitContext after use.
author ramiro
date Sat, 11 Oct 2008 14:52:00 +0000
parents e381bf921a88
children 28d9f91aeb28
files nellymoserenc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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)