diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2014-01-28 07:39:58 +0100 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2014-01-28 07:39:58 +0100 |
commit | 527968bdd30f5f93466d9f23f362982cac5ffbac (patch) | |
tree | fa07a547813fdb805e467ad6b3b4ec85b515a197 /lib | |
parent | 6e6c3b50b12ef9c4c4e3b8636cadc6a6e436f431 (diff) |
ffmpeg: dxva - backport bump max slices for mpeg2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ffmpeg/patches/0062-backport-dxva2-bump-max-number-of-slices.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/ffmpeg/patches/0062-backport-dxva2-bump-max-number-of-slices.patch b/lib/ffmpeg/patches/0062-backport-dxva2-bump-max-number-of-slices.patch new file mode 100644 index 0000000000..9d0e5cbc40 --- /dev/null +++ b/lib/ffmpeg/patches/0062-backport-dxva2-bump-max-number-of-slices.patch @@ -0,0 +1,28 @@ +From bceeccc648baf94a02b7b2c53e44bf77a47773ef Mon Sep 17 00:00:00 2001 +From: Rainer Hochecker <fernetmenta@online.de> +Date: Mon, 27 Jan 2014 08:16:13 +0100 +Subject: [PATCH] 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> +--- + libavcodec/dxva2_mpeg2.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libavcodec/dxva2_mpeg2.c b/libavcodec/dxva2_mpeg2.c +index 1827dd5..e2f6b70 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; +-- +1.8.5.1 + |