From 17592475b3ee4c45ab43ac38e46fe8063b314811 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 12 Feb 2002 15:43:16 +0000 Subject: 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 --- libavcodec/mpegaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mpegaudio.c') diff --git a/libavcodec/mpegaudio.c b/libavcodec/mpegaudio.c index e8ec337466..d1040a4050 100644 --- a/libavcodec/mpegaudio.c +++ b/libavcodec/mpegaudio.c @@ -763,7 +763,7 @@ int MPA_encode_frame(AVCodecContext *avctx, encode_frame(s, bit_alloc, padding); s->nb_samples += MPA_FRAME_SIZE; - return s->pb.buf_ptr - s->pb.buf; + return pbBufPtr(&s->pb) - s->pb.buf; } -- cgit v1.2.3