You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
wmaenc: return s->block_align instead of recalculating it
This commit is contained in:
@@ -404,7 +404,7 @@ static int encode_superframe(AVCodecContext *avctx,
|
|||||||
put_bits(&s->pb, 8, 'N');
|
put_bits(&s->pb, 8, 'N');
|
||||||
|
|
||||||
flush_put_bits(&s->pb);
|
flush_put_bits(&s->pb);
|
||||||
return put_bits_ptr(&s->pb) - s->pb.buf;
|
return s->block_align;
|
||||||
}
|
}
|
||||||
|
|
||||||
AVCodec ff_wmav1_encoder = {
|
AVCodec ff_wmav1_encoder = {
|
||||||
|
Reference in New Issue
Block a user