Skip to content
Snippets Groups Projects
Commit 8ed7488e authored by Justin Ruggles's avatar Justin Ruggles
Browse files

wmaenc: return s->block_align instead of recalculating it

parent 5d652e06
No related branches found
No related tags found
No related merge requests found
......@@ -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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment