diff options
Diffstat (limited to 'libavcodec/wmaenc.c')
-rw-r--r-- | libavcodec/wmaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmaenc.c b/libavcodec/wmaenc.c index 4977ab2a1e..a8ba6b0b66 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -380,7 +380,7 @@ static int encode_superframe(AVCodecContext *avctx, put_bits(&s->pb, 8, 'N'); flush_put_bits(&s->pb); - return pbBufPtr(&s->pb) - s->pb.buf; + return put_bits_ptr(&s->pb) - s->pb.buf; } AVCodec wmav1_encoder = |