dxva2: bump maximum number of slieces for mpeg2
authorRainer Hochecker <fernetmenta@online.de>
Mon, 27 Jan 2014 07:16:13 +0000 (08:16 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 27 Jan 2014 13:24:29 +0000 (14:24 +0100)
Suggested by heleppkes on https://trac.ffmpeg.org/ticket/3133

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dxva2_mpeg2.c

index 1827dd5..e2f6b70 100644 (file)
@@ -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;