summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhddata.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-30 16:46:16 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-08-31 17:14:08 +0200
commit87a11db220dec523e39eb4af715175e150787a72 (patch)
tree6c6e9dff90f898e816c5d3ad881d0e2c681e8a41 /libavcodec/dnxhddata.c
parenta686e58165ca0f83966431a9166cb6e17bf6095c (diff)
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 <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/dnxhddata.c')
-rw-r--r--libavcodec/dnxhddata.c2
1 files changed, 1 insertions, 1 deletions
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,