X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fdca.c;h=58f342058682e0e9ffb4efa0b07bbd5de9ece968;hp=e87a9e3ed4a3fa364df03fb0da7cc10f7bd0a226;hb=49c7006c7e815d4330247624a9e6ba30e288cd02;hpb=3c7c16fde3c2b758bb3c9f038c9a7d3461664f98;ds=sidebyside diff --git a/libavcodec/dca.c b/libavcodec/dca.c index e87a9e3ed4..58f3420586 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -1650,6 +1650,7 @@ static int dca_decode_frame(AVCodecContext * avctx, //set AVCodec values with parsed data avctx->sample_rate = s->sample_rate; avctx->bit_rate = s->bit_rate; + avctx->frame_size = s->sample_blocks * 32; s->profile = FF_PROFILE_DTS;