summarylogtreecommitdiffstats
path: root/tsmf_ffmpeg.patch
diff options
context:
space:
mode:
authorVlad Petrov2019-09-29 00:07:11 +0300
committerVlad Petrov2019-09-29 00:11:50 +0300
commit59b29156e6056c17c6fe6ef3214365b932f7f2a2 (patch)
treee738eac4e759a8b744ef5ca0601701b7e3e45a65 /tsmf_ffmpeg.patch
downloadaur-59b29156e6056c17c6fe6ef3214365b932f7f2a2.tar.gz
beautify internal package
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;
+ }