From 87a11db220dec523e39eb4af715175e150787a72 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 30 Aug 2015 16:46:16 +0200 Subject: [PATCH] dnxhddata: Double frame_size for cid 1260 Despite '417792' being reported in the binary decoder, the buffer at encoding time needs to be bigger to avoid running out of space due to interlace handling. Signed-off-by: Vittorio Giovara --- libavcodec/dnxhddata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index 5ce6667d1a..1bf76342b6 100644 --- a/libavcodec/dnxhddata.c +++ b/libavcodec/dnxhddata.c @@ -1215,7 +1215,7 @@ const CIDEntry ff_dnxhd_cid_table[] = { dnxhd_1237_ac_run_flag, dnxhd_1237_ac_index_flag, dnxhd_1237_run_codes, dnxhd_1237_run_bits, dnxhd_1237_run, { 63, 84, 100, 110 } }, - { 1260, 1440, 1080, 1, 417792, 417792, 4, 8, + { 1260, 1440, 1080, 1, 835584, 417792, 4, 8, dnxhd_1260_luma_weight, dnxhd_1260_chroma_weight, dnxhd_1237_dc_codes, dnxhd_1237_dc_bits, dnxhd_1237_ac_codes, dnxhd_1237_ac_bits, dnxhd_1237_ac_level,