diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-02 16:55:45 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-03 18:20:10 -0500 |
commit | 8ed7488ea39a4ab60045e679ad5efa6a7b81ed98 (patch) | |
tree | 772bdb50f1623500f264380878dda39a01b78332 /libavcodec/wmaenc.c | |
parent | 5d652e063bd3a180f9de8915e5137aa4f938846d (diff) | |
download | ffmpeg-8ed7488ea39a4ab60045e679ad5efa6a7b81ed98.tar.gz |
wmaenc: return s->block_align instead of recalculating it
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 c00f13623d..789f112aee 100644 --- a/libavcodec/wmaenc.c +++ b/libavcodec/wmaenc.c @@ -404,7 +404,7 @@ static int encode_superframe(AVCodecContext *avctx, put_bits(&s->pb, 8, 'N'); flush_put_bits(&s->pb); - return put_bits_ptr(&s->pb) - s->pb.buf; + return s->block_align; } AVCodec ff_wmav1_encoder = { |