void-packages/srcpkgs/qt6-pdf/patches/0145-unbundle-ffmpeg-av_str...

11 lines
322 B
Diff

--- a/src/3rdparty/chromium/build/linux/unbundle/ffmpeg.gn
+++ b/src/3rdparty/chromium/build/linux/unbundle/ffmpeg.gn
@@ -12,6 +12,7 @@ pkg_config("system_ffmpeg") {
"libavformat",
"libavutil",
]
+ defines = [ "av_stream_get_first_dts(stream)=stream->first_dts" ]
}
buildflag_header("ffmpeg_features") {