diff options
Diffstat (limited to 'libavcodec/sonic.c')
-rw-r--r-- | libavcodec/sonic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index c2cb47a2b4..13409d6efa 100644 --- a/libavcodec/sonic.c +++ b/libavcodec/sonic.c @@ -687,7 +687,7 @@ static av_cold int sonic_encode_init(AVCodecContext *avctx) put_bits(&pb, 1, 0); // XXX FIXME: no custom tap quant table flush_put_bits(&pb); - avctx->extradata_size = put_bits_count(&pb)/8; + avctx->extradata_size = put_bytes_output(&pb); av_log(avctx, AV_LOG_INFO, "Sonic: ver: %d.%d ls: %d dr: %d taps: %d block: %d frame: %d downsamp: %d\n", s->version, s->minor_version, s->lossless, s->decorrelation, s->num_taps, s->block_align, s->frame_size, s->downsampling); |