blob: 5af1040b2b2b46b8710a0be8d7963426a8216efe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index 68731c9..cf62c48 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;
|