diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-02-12 15:43:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-02-12 15:43:16 +0000 |
commit | 17592475b3ee4c45ab43ac38e46fe8063b314811 (patch) | |
tree | d23901a813ee1777b9c4451870e111a9940c9fc9 /libavcodec/mjpeg.c | |
parent | 9bd8bd1add6be33f5eb7f2645350901ab2a56a6c (diff) | |
download | ffmpeg-17592475b3ee4c45ab43ac38e46fe8063b314811.tar.gz |
alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index cb86344628..93076858f2 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -243,7 +243,7 @@ static void jpeg_table_header(MpegEncContext *s) /* huffman table */ put_marker(p, DHT); flush_put_bits(p); - ptr = p->buf_ptr; + ptr = pbBufPtr(p); put_bits(p, 16, 0); /* patched later */ size = 2; size += put_huffman_table(s, 0, 0, bits_dc_luminance, val_dc_luminance); |