summarylogtreecommitdiffstats
path: root/tsmf_ffmpeg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tsmf_ffmpeg.patch')
-rw-r--r--tsmf_ffmpeg.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tsmf_ffmpeg.patch b/tsmf_ffmpeg.patch
new file mode 100644
index 000000000000..920410697fd2
--- /dev/null
+++ b/tsmf_ffmpeg.patch
@@ -0,0 +1,13 @@
+--- a/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c 2019-06-10 12:32:12.499771340 +0300
++++ b/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c 2019-06-10 12:55:29.606403855 +0300
+@@ -206,8 +206,8 @@
+ }
+ }
+
+- if (mdecoder->codec->capabilities & CODEC_CAP_TRUNCATED)
+- mdecoder->codec_context->flags |= CODEC_FLAG_TRUNCATED;
++ if (mdecoder->codec->capabilities & AV_CODEC_CAP_TRUNCATED)
++ mdecoder->codec_context->flags |= AV_CODEC_FLAG_TRUNCATED;
+
+ return TRUE;
+ }