diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-10-11 14:52:00 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-10-11 14:52:00 +0000 |
commit | f2e5786771e6ce989efc7b9136c73343e354c0b0 (patch) | |
tree | 6fa4b395e9549cca10a71d7ed6606705757c0a95 | |
parent | 57bb0da67996e1fe389b36693591909acd82dfb8 (diff) | |
download | ffmpeg-f2e5786771e6ce989efc7b9136c73343e354c0b0.tar.gz |
nellymoserenc: flush PutBitContext after use.
Originally committed as revision 15596 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/nellymoserenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c index e1fc6f02ba..03db30c109 100644 --- a/libavcodec/nellymoserenc.c +++ b/libavcodec/nellymoserenc.c @@ -331,6 +331,8 @@ static void encode_block(NellyMoserEncodeContext *s, unsigned char *output, int 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) |