Merge remote-tracking branch 'qatar/master'
[ffmpeg.git] / libavformat / latmenc.c
index 9299cc3..c461ac3 100644 (file)
@@ -120,7 +120,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 */