summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
diff options
context:
space:
mode:
authorTim Walker <[email protected]>2020-02-05 23:41:11 +0100
committerDamiano Galassi <[email protected]>2020-03-30 09:36:40 +0200
commite403b7427f3708ee5d2fba758501da7299826a94 (patch)
treeb455b8277b17179b9ba0a91ac221a61ecd5929d7 /contrib/ffmpeg
parent2eed677a47ed5e6e90f2dad25039133e83f9362b (diff)
ffmpeg: support 'H265' FourCC in AVI.
Produced by security cameras, see: https://forum.handbrake.fr/viewtopic.php?f=11&t=39824
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r--contrib/ffmpeg/A01-riff-tag-h265-in-avi.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/ffmpeg/A01-riff-tag-h265-in-avi.patch b/contrib/ffmpeg/A01-riff-tag-h265-in-avi.patch
new file mode 100644
index 000000000..17b6cde2c
--- /dev/null
+++ b/contrib/ffmpeg/A01-riff-tag-h265-in-avi.patch
@@ -0,0 +1,26 @@
+From 6c79abcfaa30675943081ef62caa984f9185a3b3 Mon Sep 17 00:00:00 2001
+From: Tim Walker <[email protected]>
+Date: Wed, 5 Feb 2020 22:34:34 +0100
+Subject: [PATCH] avformat/avidec: add support for recognizing H265 fourcc when demuxing
+
+See commit 2e31774b409d77f046f166fb3ff630a9ef91def7
+
+---
+ libavformat/riff.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libavformat/riff.c b/libavformat/riff.c
+index c73f6e9db0..32914f9ab0 100644
+--- a/libavformat/riff.c
++++ b/libavformat/riff.c
+@@ -496,6 +496,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
+
+ const AVCodecTag ff_codec_bmp_tags_unofficial[] = {
+ { AV_CODEC_ID_HEVC, MKTAG('H', 'E', 'V', 'C') },
++ { AV_CODEC_ID_HEVC, MKTAG('H', '2', '6', '5') },
+ { AV_CODEC_ID_NONE, 0 }
+ };
+
+--
+2.20.1 (Apple Git-117)
+