]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ljpegenc.c
Pad the extradata in the AAC ADTS to AudioSpecificConfig bitstream filter.
[ffmpeg] / libavcodec / ljpegenc.c
index e53e07920f4520911dc4f87c78c8fffae121a02a..6c9f058dce01f2d1216e0fc90f4be5ab997c51a2 100644 (file)
@@ -181,7 +181,7 @@ static int encode_picture_lossless(AVCodecContext *avctx, unsigned char *buf, in
     s->picture_number++;
 
     flush_put_bits(&s->pb);
-    return pbBufPtr(&s->pb) - s->pb.buf;
+    return put_bits_ptr(&s->pb) - s->pb.buf;
 //    return (put_bits_count(&f->pb)+7)/8;
 }