From d4a544cbc46fd3550e4d21a9871eeb315e036156 Mon Sep 17 00:00:00 2001 From: Kieran Kunhya Date: Fri, 23 Sep 2011 10:51:07 -0500 Subject: [PATCH] latmenc: Set latmBufferFullness to largest value to indicate it is not used Signed-off-by: Janne Grunau --- libavformat/latmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c index 707c6031c2..1cdfc1e791 100644 --- a/libavformat/latmenc.c +++ b/libavformat/latmenc.c @@ -116,7 +116,7 @@ static int latm_write_frame_header(AVFormatContext *s, PutBitContext *bs) } put_bits(bs, 3, 0); /* frameLengthType */ - put_bits(bs, 8, 0); /* latmBufferFullness */ + put_bits(bs, 8, 0xff); /* latmBufferFullness */ put_bits(bs, 1, 0); /* otherDataPresent */ put_bits(bs, 1, 0); /* crcCheckPresent */