diff options
author | theuni <theuni-nospam-@xbmc.org> | 2011-02-07 16:08:49 -0500 |
---|---|---|
committer | theuni <theuni-nospam-@xbmc.org> | 2011-02-07 16:08:49 -0500 |
commit | 0652b62f371abea9e62bf300dcb93c620eda56ea (patch) | |
tree | 3bc083a8b536745c25c071d2bec6de26e57c2df2 /lib/ffmpeg | |
parent | 559181e5c2863a3d78e4df16b0518003d54cc5af (diff) |
Add our MAX_STREAMS hack back, it was lost after the ffmpeg update.
Fixes playback of some streams (one of my test mkvs).
This should be removed on ffmpeg major version bump.
Diffstat (limited to 'lib/ffmpeg')
-rw-r--r-- | lib/ffmpeg/libavformat/avformat.h | 2 | ||||
-rw-r--r-- | lib/ffmpeg/patches/0040-Add-our-MAX_STREAMS-hack-back-it-was-lost-after-the-.patch | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/lib/ffmpeg/libavformat/avformat.h b/lib/ffmpeg/libavformat/avformat.h index f9f9be5b02..dec80910db 100644 --- a/lib/ffmpeg/libavformat/avformat.h +++ b/lib/ffmpeg/libavformat/avformat.h @@ -667,7 +667,7 @@ typedef struct AVChapter { } AVChapter; #if FF_API_MAX_STREAMS -#define MAX_STREAMS 20 +#define MAX_STREAMS 100 #endif /** diff --git a/lib/ffmpeg/patches/0040-Add-our-MAX_STREAMS-hack-back-it-was-lost-after-the-.patch b/lib/ffmpeg/patches/0040-Add-our-MAX_STREAMS-hack-back-it-was-lost-after-the-.patch new file mode 100644 index 0000000000..25b0541612 --- /dev/null +++ b/lib/ffmpeg/patches/0040-Add-our-MAX_STREAMS-hack-back-it-was-lost-after-the-.patch @@ -0,0 +1,28 @@ +From 03e5595ec1d5a87d61a67443634b0c56af7cd22c Mon Sep 17 00:00:00 2001 +From: theuni <theuni-nospam-@xbmc.org> +Date: Mon, 7 Feb 2011 16:00:50 -0500 +Subject: [PATCH] Add our MAX_STREAMS hack back, it was lost after the ffmpeg update. + +Fixes playback of some streams (one of my test mkvs). + +This should be removed on ffmpeg major version bump. +--- + lib/ffmpeg/libavformat/avformat.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/lib/ffmpeg/libavformat/avformat.h b/lib/ffmpeg/libavformat/avformat.h +index f9f9be5..dec8091 100644 +--- a/lib/ffmpeg/libavformat/avformat.h ++++ b/lib/ffmpeg/libavformat/avformat.h +@@ -667,7 +667,7 @@ typedef struct AVChapter { + } AVChapter; + + #if FF_API_MAX_STREAMS +-#define MAX_STREAMS 20 ++#define MAX_STREAMS 100 + #endif + + /** +-- +1.7.3 + |