diff options
Diffstat (limited to 'libavcodec/mpegaudio.c')
-rw-r--r-- | libavcodec/mpegaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |