summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ffmpeg/A00-mov-utf16-chapters.patch25
-rw-r--r--contrib/ffmpeg/module.defs2
2 files changed, 1 insertions, 26 deletions
diff --git a/contrib/ffmpeg/A00-mov-utf16-chapters.patch b/contrib/ffmpeg/A00-mov-utf16-chapters.patch
deleted file mode 100644
index 1dfde74e6..000000000
--- a/contrib/ffmpeg/A00-mov-utf16-chapters.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/libavformat/mov.c b/libavformat/mov.c
-index 4370b48..b28c9ae 100644
---- a/libavformat/mov.c
-+++ b/libavformat/mov.c
-@@ -2334,6 +2334,20 @@ static void mov_read_chapters(AVFormatContext *s)
- av_freep(&title);
- title = utf8;
- }
-+ else if (AV_RL16(title+2) == 0xfeff) {
-+ uint8_t *utf8 = av_malloc(2*len+3);
-+
-+ i8 = i16 = 0;
-+ while (i16 < len) {
-+ uint32_t ch;
-+ uint8_t tmp;
-+ GET_UTF16(ch, i16 < len ? AV_RL16(title + (i16+=2)) : 0, break;)
-+ PUT_UTF8(ch, tmp, if (i8 < 2*len) utf8[2+i8++] = tmp;)
-+ }
-+ utf8[2+i8] = 0;
-+ av_freep(&title);
-+ title = utf8;
-+ }
-
- ff_new_chapter(s, i, st->time_base, sample->timestamp, end, title+2);
- av_freep(&title);
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index 304183ffe..bda0e8101 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -1,7 +1,7 @@
$(eval $(call import.MODULE.defs,FFMPEG,ffmpeg,BZIP2 FAAD2 ZLIB))
$(eval $(call import.CONTRIB.defs,FFMPEG))
-FFMPEG.FETCH.url = http://download.m0k.org/handbrake/contrib/ffmpeg-r25689.tar.bz2
+FFMPEG.FETCH.url = http://download.m0k.org/handbrake/contrib/ffmpeg-git-185a155.tar.bz2
FFMPEG.CONFIGURE.deps =
FFMPEG.CONFIGURE.env =