From cb22202ce94a03aff8f8da9d6ce8925462d795d6 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Thu, 13 Apr 2023 00:38:49 +0400 Subject: [PATCH] Fix ff_seek_frame_binary bug with Xcode 14.3 --- submodules/ffmpeg/Sources/FFMpeg/ffmpeg-4.1/libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/ffmpeg/Sources/FFMpeg/ffmpeg-4.1/libavformat/utils.c b/submodules/ffmpeg/Sources/FFMpeg/ffmpeg-4.1/libavformat/utils.c index 72dd9044e1..e6d9a285d8 100644 --- a/submodules/ffmpeg/Sources/FFMpeg/ffmpeg-4.1/libavformat/utils.c +++ b/submodules/ffmpeg/Sources/FFMpeg/ffmpeg-4.1/libavformat/utils.c @@ -2164,7 +2164,7 @@ int ff_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts, int flags) { AVInputFormat *avif = s->iformat; - int64_t av_uninit(pos_min), av_uninit(pos_max), pos, pos_limit; + int64_t pos_min = 0, pos_max = 0, pos, pos_limit; int64_t ts_min, ts_max, ts; int index; int64_t ret;