[FFmpeg-devel] [PATCH v4 1/9] avcodec/dolby_e: set constant frame_size
Nicolas Gaullier
nicolas.gaullier at cji.paris
Sat Oct 3 01:23:38 EEST 2020
Fixes pts generation.
---
libavcodec/dolby_e.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/dolby_e.c b/libavcodec/dolby_e.c
index 429612ec08..b0e6d6aee3 100644
--- a/libavcodec/dolby_e.c
+++ b/libavcodec/dolby_e.c
@@ -577,6 +577,7 @@ static int filter_frame(DBEContext *s, AVFrame *frame)
reorder = ch_reorder_n;
frame->nb_samples = FRAME_SAMPLES;
+ s->avctx->frame_size = FRAME_SAMPLES;
if ((ret = ff_get_buffer(s->avctx, frame, 0)) < 0)
return ret;
--
2.27.0.windows.1
More information about the ffmpeg-devel
mailing list