]> git.pld-linux.org Git - packages/freerdp.git/blobdiff - ffmpeg4.patch
- fix building with ffmpeg 4.0
[packages/freerdp.git] / ffmpeg4.patch
diff --git a/ffmpeg4.patch b/ffmpeg4.patch
new file mode 100644 (file)
index 0000000..320eff2
--- /dev/null
@@ -0,0 +1,13 @@
+--- freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c~  2018-04-29 09:45:20.000000000 +0200
++++ freerdp-1.0.2/channels/drdynvc/tsmf/ffmpeg/tsmf_ffmpeg.c   2018-04-29 09:46:56.321113085 +0200
+@@ -154,8 +154,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;
+ }
This page took 0.030861 seconds and 4 git commands to generate.