diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2014-01-27 08:16:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-27 14:24:29 +0100 |
commit | bceeccc648baf94a02b7b2c53e44bf77a47773ef (patch) | |
tree | 36566192816dd30addec26a8eb61fc1d87fc9ccb | |
parent | 9d087ab5ef15e122e92b09416eb793ed6fdc660d (diff) | |
download | ffmpeg-bceeccc648baf94a02b7b2c53e44bf77a47773ef.tar.gz |
dxva2: bump maximum number of slieces for mpeg2
Suggested by heleppkes on https://trac.ffmpeg.org/ticket/3133
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/dxva2_mpeg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxva2_mpeg2.c b/libavcodec/dxva2_mpeg2.c index 1827dd526f..e2f6b709aa 100644 --- a/libavcodec/dxva2_mpeg2.c +++ b/libavcodec/dxva2_mpeg2.c @@ -22,7 +22,7 @@ #include "dxva2_internal.h" -#define MAX_SLICES (SLICE_MAX_START_CODE - SLICE_MIN_START_CODE + 1) +#define MAX_SLICES 1024 struct dxva2_picture_context { DXVA_PictureParameters pp; DXVA_QmatrixData qm; |