# HG changeset patch # User ramiro # Date 1223736720 0 # Node ID dea517f771aad07c7f915f108b9c8989145a95cc # Parent e381bf921a882e924b9b54c51b98cf763493443d nellymoserenc: flush PutBitContext after use. diff -r e381bf921a88 -r dea517f771aa nellymoserenc.c --- 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)