diff mjpeg.c @ 234:5fc0c3af3fe4 libavcodec

alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)
author michaelni
date Tue, 12 Feb 2002 15:43:16 +0000
parents f418b5c5ff67
children 9f6071a87e17
line wrap: on
line diff
--- a/mjpeg.c	Sun Feb 10 06:10:50 2002 +0000
+++ b/mjpeg.c	Tue Feb 12 15:43:16 2002 +0000
@@ -243,7 +243,7 @@
     /* 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);