Skip to content
Snippets Groups Projects
Commit f2e57867 authored by Ramiro Polla's avatar Ramiro Polla
Browse files

nellymoserenc: flush PutBitContext after use.

Originally committed as revision 15596 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 57bb0da6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment