latmenc: Set latmBufferFullness to largest value to indicate it is not used
authorKieran Kunhya <kierank@ob-encoder.com>
Fri, 23 Sep 2011 15:51:07 +0000 (10:51 -0500)
committerJanne Grunau <janne-libav@jannau.net>
Fri, 30 Sep 2011 09:17:27 +0000 (11:17 +0200)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavformat/latmenc.c

index 707c603..1cdfc1e 100644 (file)
@@ -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 */