Browse Source

nellymoserenc: flush PutBitContext after use.

Originally committed as revision 15596 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ramiro Polla 17 years ago
parent
commit
f2e5786771
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/nellymoserenc.c

+ 2
- 0
libavcodec/nellymoserenc.c View File

@@ -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)


Loading…
Cancel
Save