From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 624634D72F for ; Sun, 23 Feb 2025 22:10:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CEB4B68CBE2; Mon, 24 Feb 2025 00:07:14 +0200 (EET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A2E0268CB69 for ; Mon, 24 Feb 2025 00:07:08 +0200 (EET) Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2fcc99efe9bso5770130a91.2 for ; Sun, 23 Feb 2025 14:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740348426; x=1740953226; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=km7iKUoigjqcaJ9rOv5Hs134g+OdVOJYLnW/a71yD3k=; b=ManXLHQroFghrsS9qpiieOf+y2JECVuVDxYqiwVRsNLp85uH80lb351AQLQUTkYNrp C3eRntTl6/7At1V7zsovK7eqnyts5XjdmwjLUH4n8qpyQSSeO6SDB8tVGrgYDIagKPni JGmOOevnatC7JONldFYqW+IRBse+gNDKMyPLRz8wjNcmf9dI/kBWLUJXY3iWz7NBwo91 8Qk2f3bOTveIbt7jIO2TPCxNsg+u0sFtsxNRacaJ57sSQn3M/XRpkURfswZZQOHk9Kn7 ZH2/lGHxtZgCp7zfUYSfJ82YT17tpiFPpB+ezprgGV7AJymK+7AV6aFFy+rXy4DpHN5O b8ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740348426; x=1740953226; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=km7iKUoigjqcaJ9rOv5Hs134g+OdVOJYLnW/a71yD3k=; b=TYsYD8gZJ5p7WUZbq2RggBCWD/oZz2QCyCify0e62rHwQIdGpjJiE+8a+z7dRNtuep eg1QEQ7ALMXwwQiuSoyUNjwHTw/c8RGD7Ywd5dor1VSLMbFURb0UW+jYmqpz9+4rQPKY kBPQDsLBdSvoKytKi24NjTHEyJANwu4rzQNPI7nF4VjLJ+p8CC7qXpaOqADTqawUhDr1 B5Rv6PV5lVKEfe3zctXz1+nQ2bO6hYJvTCm1eG2YuhHYs4WPwRwycDniSzaExYCIlXYD wL5T7tLdCq4LM6NzVGRh5mBnJc/Kkj/yNzNqB8Bq9cgn5gBMf8s2GycGDyClagdlinJ/ J5SA== X-Gm-Message-State: AOJu0YxE4px2cfSDB8CiiDXtysLiUz1kmJrZKNFc5t0VbVZ38j4auKjn rusm6egxtufW6o3pU7zh+1nukefuRfWrx4rzPPQvKJIy1P9vBYMHR22K/MrH X-Gm-Gg: ASbGncsZ+JTukIMG/4J4HGLCa0iPKLlcyyKYB69BiLP+BubEsz7QruCKSBz3JZhliAX 8cFaBNdstKglbgMKNg/Fo8PuDsb9GophHh1r7jgD+uwPhTJMGainj1ncwkk/CTFnPTJLOzjXDcL s9FdAFoNH7LpX52yB1+Dr6m5E1PGRWfJ8+vR+AmDYpU5nKdm9/p85CUeo+zomavDv1mAjomQA9Y OzkeRWtejII474hqmDB7tTrxWD7ZrPrDmPDB4RSEeZ/8Rn+jnH8a8A7RgeyjgIyT3g18C4HidI8 yMlLancs46U/BsLyo4ifyNf8kUoMxX/hIDNTTv7N9g== X-Google-Smtp-Source: AGHT+IHN5euF6ChfzwiUhKRVRpGhb8huRV6aeg1wxOE0k/FoUbG8GKHiuqCX+o3XkEOuCZwR1BzhEw== X-Received: by 2002:a17:90b:4b90:b0:2ee:a6f0:f54 with SMTP id 98e67ed59e1d1-2fce86b31cdmr17756109a91.13.1740348425927; Sun, 23 Feb 2025 14:07:05 -0800 (PST) Received: from localhost.localdomain ([2800:2121:b040:c:b49d:85a5:a7d1:4da6]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2fceb04bf70sm5091848a91.16.2025.02.23.14.07.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Feb 2025 14:07:05 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sun, 23 Feb 2025 19:06:16 -0300 Message-ID: <20250223220630.18756-17-jamrial@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250223220630.18756-1-jamrial@gmail.com> References: <20250223220630.18756-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 16/30] avformat: remove deprecated FF_API_ALLOW_FLUSH X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Deprecated since 2023-10-02. Signed-off-by: James Almer --- libavdevice/pulse_audio_enc.c | 4 ---- libavformat/avformat.h | 3 --- libavformat/fifo.c | 4 ---- libavformat/hlsenc.c | 4 ---- libavformat/matroskaenc.c | 13 ----------- libavformat/movenc.c | 40 ++-------------------------------- libavformat/mpegtsenc.c | 4 ---- libavformat/oggenc.c | 20 ----------------- libavformat/tee.c | 4 ---- libavformat/tests/fifo_muxer.c | 4 ---- libavformat/version_major.h | 1 - 11 files changed, 2 insertions(+), 99 deletions(-) diff --git a/libavdevice/pulse_audio_enc.c b/libavdevice/pulse_audio_enc.c index 80136d1e20..d1652bf8d7 100644 --- a/libavdevice/pulse_audio_enc.c +++ b/libavdevice/pulse_audio_enc.c @@ -796,11 +796,7 @@ const FFOutputFormat ff_pulse_muxer = { .get_output_timestamp = pulse_get_output_timestamp, .get_device_list = pulse_get_device_list, .control_message = pulse_control_message, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_NOFILE, -#endif .p.priv_class = &pulse_muxer_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a3bb1f1ee3..08e3206290 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -485,9 +485,6 @@ typedef struct AVProbeData { #define AVFMT_NOBINSEARCH 0x2000 /**< Format does not allow to fall back on binary search via read_timestamp */ #define AVFMT_NOGENSEARCH 0x4000 /**< Format does not allow to fall back on generic search */ #define AVFMT_NO_BYTE_SEEK 0x8000 /**< Format does not allow seeking by bytes */ -#if FF_API_ALLOW_FLUSH -#define AVFMT_ALLOW_FLUSH 0x10000 /**< @deprecated: Just send a NULL packet if you want to flush a muxer. */ -#endif #define AVFMT_TS_NONSTRICT 0x20000 /**< Format does not require strictly increasing timestamps, but they must still be monotonic */ diff --git a/libavformat/fifo.c b/libavformat/fifo.c index 23e4149ad6..936a153a49 100644 --- a/libavformat/fifo.c +++ b/libavformat/fifo.c @@ -717,11 +717,7 @@ const FFOutputFormat ff_fifo_muxer = { .p.name = "fifo", .p.long_name = NULL_IF_CONFIG_SMALL("FIFO queue pseudo-muxer"), .p.priv_class = &fifo_muxer_class, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, -#else .p.flags = AVFMT_NOFILE | AVFMT_TS_NEGATIVE, -#endif .priv_data_size = sizeof(FifoContext), .init = fifo_init, .write_header = fifo_write_header, diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 6148685f40..f1f03dbd49 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -3256,11 +3256,7 @@ const FFOutputFormat ff_hls_muxer = { .p.audio_codec = AV_CODEC_ID_AAC, .p.video_codec = AV_CODEC_ID_H264, .p.subtitle_codec = AV_CODEC_ID_WEBVTT, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_NODIMENSIONS, -#else .p.flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER | AVFMT_NODIMENSIONS, -#endif .p.priv_class = &hls_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, .priv_data_size = sizeof(HLSContext), diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 2e06f68304..6d0d791f18 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -3601,11 +3601,7 @@ const FFOutputFormat ff_matroska_muxer = { .write_packet = mkv_write_flush_packet, .write_trailer = mkv_write_trailer, .p.flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS | -#if FF_API_ALLOW_FLUSH - AVFMT_TS_NONSTRICT | AVFMT_ALLOW_FLUSH, -#else AVFMT_TS_NONSTRICT, -#endif .p.codec_tag = (const AVCodecTag* const []){ ff_codec_bmp_tags, ff_codec_wav_tags, additional_audio_tags, additional_subtitle_tags, 0 @@ -3645,11 +3641,7 @@ const FFOutputFormat ff_webm_muxer = { .query_codec = webm_query_codec, .check_bitstream = mkv_check_bitstream, .p.flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS | -#if FF_API_ALLOW_FLUSH - AVFMT_TS_NONSTRICT | AVFMT_ALLOW_FLUSH, -#else AVFMT_TS_NONSTRICT, -#endif .p.priv_class = &matroska_webm_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; @@ -3671,12 +3663,7 @@ const FFOutputFormat ff_matroska_audio_muxer = { .write_packet = mkv_write_flush_packet, .write_trailer = mkv_write_trailer, .check_bitstream = mkv_check_bitstream, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NONSTRICT | - AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NONSTRICT, -#endif .p.codec_tag = (const AVCodecTag* const []){ ff_codec_wav_tags, additional_audio_tags, 0 }, diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 76dce9e6e5..daac6e8957 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -8713,11 +8713,7 @@ const FFOutputFormat ff_mov_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, - .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE | AVFMT_VARIABLE_FPS -#if FF_API_ALLOW_FLUSH - | AVFMT_ALLOW_FLUSH -#endif - , + .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE | AVFMT_VARIABLE_FPS, .p.codec_tag = (const AVCodecTag* const []){ ff_codec_movvideo_tags, ff_codec_movaudio_tags, ff_codec_movsubtitle_tags, 0 }, @@ -8739,11 +8735,7 @@ const FFOutputFormat ff_tgp_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, -#else .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE, -#endif .p.codec_tag = codec_3gp_tags_list, .check_bitstream = mov_check_bitstream, .p.priv_class = &mov_isobmff_muxer_class, @@ -8765,11 +8757,7 @@ const FFOutputFormat ff_mp4_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, - .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE | AVFMT_VARIABLE_FPS -#if FF_API_ALLOW_FLUSH - | AVFMT_ALLOW_FLUSH -#endif - , + .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE | AVFMT_VARIABLE_FPS, .p.codec_tag = mp4_codec_tags_list, .check_bitstream = mov_check_bitstream, .p.priv_class = &mov_isobmff_muxer_class, @@ -8790,11 +8778,7 @@ const FFOutputFormat ff_psp_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, -#else .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE, -#endif .p.codec_tag = mp4_codec_tags_list, .check_bitstream = mov_check_bitstream, .p.priv_class = &mov_isobmff_muxer_class, @@ -8814,11 +8798,7 @@ const FFOutputFormat ff_tg2_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, -#else .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE, -#endif .p.codec_tag = codec_3gp_tags_list, .check_bitstream = mov_check_bitstream, .p.priv_class = &mov_isobmff_muxer_class, @@ -8839,11 +8819,7 @@ const FFOutputFormat ff_ipod_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, -#else .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE, -#endif .p.codec_tag = (const AVCodecTag* const []){ codec_ipod_tags, 0 }, .check_bitstream = mov_check_bitstream, .p.priv_class = &mov_isobmff_muxer_class, @@ -8864,11 +8840,7 @@ const FFOutputFormat ff_ismv_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, -#else .p.flags = AVFMT_GLOBALHEADER | AVFMT_TS_NEGATIVE, -#endif .p.codec_tag = (const AVCodecTag* const []){ codec_mp4_tags, codec_ism_tags, 0 }, .check_bitstream = mov_check_bitstream, @@ -8890,11 +8862,7 @@ const FFOutputFormat ff_f4v_muxer = { .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, .deinit = mov_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_GLOBALHEADER, -#endif .p.codec_tag = (const AVCodecTag* const []){ codec_f4v_tags, 0 }, .check_bitstream = mov_check_bitstream, .p.priv_class = &mov_isobmff_muxer_class, @@ -8914,11 +8882,7 @@ const FFOutputFormat ff_avif_muxer = { .write_packet = mov_write_packet, .write_trailer = avif_write_trailer, .deinit = mov_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_GLOBALHEADER, -#endif .p.codec_tag = codec_avif_tags_list, .p.priv_class = &mov_avif_muxer_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 399ba21d29..6935b71cfe 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -2413,11 +2413,7 @@ const FFOutputFormat ff_mpegts_muxer = { .write_trailer = mpegts_write_end, .deinit = mpegts_deinit, .check_bitstream = mpegts_check_bitstream, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_ALLOW_FLUSH | AVFMT_VARIABLE_FPS | AVFMT_NODIMENSIONS, -#else .p.flags = AVFMT_VARIABLE_FPS | AVFMT_NODIMENSIONS, -#endif .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, .p.priv_class = &mpegts_muxer_class, }; diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 0647111396..e1bb7dd972 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -773,11 +773,7 @@ const FFOutputFormat ff_ogg_muxer = { .write_packet = ogg_write_packet, .write_trailer = ogg_write_trailer, .deinit = ogg_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_TS_NEGATIVE | AVFMT_TS_NONSTRICT | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_TS_NEGATIVE | AVFMT_TS_NONSTRICT, -#endif .p.priv_class = &ogg_muxer_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; @@ -796,11 +792,7 @@ const FFOutputFormat ff_oga_muxer = { .write_packet = ogg_write_packet, .write_trailer = ogg_write_trailer, .deinit = ogg_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_TS_NEGATIVE | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_TS_NEGATIVE, -#endif .p.priv_class = &ogg_muxer_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; @@ -822,11 +814,7 @@ const FFOutputFormat ff_ogv_muxer = { .write_packet = ogg_write_packet, .write_trailer = ogg_write_trailer, .deinit = ogg_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_TS_NEGATIVE | AVFMT_TS_NONSTRICT | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_TS_NEGATIVE | AVFMT_TS_NONSTRICT, -#endif .p.priv_class = &ogg_muxer_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; @@ -845,11 +833,7 @@ const FFOutputFormat ff_spx_muxer = { .write_packet = ogg_write_packet, .write_trailer = ogg_write_trailer, .deinit = ogg_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_TS_NEGATIVE | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_TS_NEGATIVE, -#endif .p.priv_class = &ogg_muxer_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; @@ -868,11 +852,7 @@ const FFOutputFormat ff_opus_muxer = { .write_packet = ogg_write_packet, .write_trailer = ogg_write_trailer, .deinit = ogg_free, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_TS_NEGATIVE | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_TS_NEGATIVE, -#endif .p.priv_class = &ogg_muxer_class, .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; diff --git a/libavformat/tee.c b/libavformat/tee.c index 1a2a8ead82..0150ee9f22 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -610,10 +610,6 @@ const FFOutputFormat ff_tee_muxer = { .write_trailer = tee_write_trailer, .write_packet = tee_write_packet, .p.priv_class = &tee_muxer_class, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, -#else .p.flags = AVFMT_NOFILE | AVFMT_TS_NEGATIVE, -#endif .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; diff --git a/libavformat/tests/fifo_muxer.c b/libavformat/tests/fifo_muxer.c index 222761fed3..1ba440b301 100644 --- a/libavformat/tests/fifo_muxer.c +++ b/libavformat/tests/fifo_muxer.c @@ -154,11 +154,7 @@ const FFOutputFormat ff_fifo_test_muxer = { .write_trailer = fifo_test_trailer, .deinit = failing_deinit, .p.priv_class = &failing_muxer_class, -#if FF_API_ALLOW_FLUSH - .p.flags = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH, -#else .p.flags = AVFMT_NOFILE, -#endif .flags_internal = FF_OFMT_FLAG_ALLOW_FLUSH, }; diff --git a/libavformat/version_major.h b/libavformat/version_major.h index e189ed90ac..f76d811889 100644 --- a/libavformat/version_major.h +++ b/libavformat/version_major.h @@ -42,7 +42,6 @@ * */ #define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 62) -#define FF_API_ALLOW_FLUSH (LIBAVFORMAT_VERSION_MAJOR < 62) #define FF_API_AVSTREAM_SIDE_DATA (LIBAVFORMAT_VERSION_MAJOR < 62) #define FF_API_GET_DUR_ESTIMATE_METHOD (LIBAVFORMAT_VERSION_MAJOR < 62) -- 2.48.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".