]> git.sesse.net Git - ffmpeg/commitdiff
dnxhddata: Double frame_size for cid 1260
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Aug 2015 14:46:16 +0000 (16:46 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 31 Aug 2015 15:14:08 +0000 (17:14 +0200)
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 <vittorio.giovara@gmail.com>
libavcodec/dnxhddata.c

index 5ce6667d1afd8ce3b77bef7a83da0b1136950565..1bf76342b67eead54b5a8a0a58ae42d6e1b54946 100644 (file)
@@ -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,