Browse Source

wmaenc: return s->block_align instead of recalculating it

tags/n0.11
Justin Ruggles 14 years ago
parent
commit
8ed7488ea3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/wmaenc.c

+ 1
- 1
libavcodec/wmaenc.c View File

@@ -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 = {


Loading…
Cancel
Save