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 */