aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/seek.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2025-02-19 12:47:24 -0300
committerJames Almer <jamrial@gmail.com>2025-03-28 14:33:07 -0300
commitec8e796b42bccf999fdf31c110385e2cc119b7f2 (patch)
tree628602fe58d7fec9bda484c195635e7817be2fbe /libavformat/seek.c
parentc153238275c28ec1891df696114c152285dc9680 (diff)
downloadffmpeg-ec8e796b42bccf999fdf31c110385e2cc119b7f2.tar.gz
avformat: remove deprecated FF_API_AVSTREAM_SIDE_DATA
Deprecated since 2023-10-06. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/seek.c')
-rw-r--r--libavformat/seek.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/seek.c b/libavformat/seek.c
index a096d5e5b3..c0d94371e6 100644
--- a/libavformat/seek.c
+++ b/libavformat/seek.c
@@ -715,8 +715,6 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts,
/** Flush the frame reader. */
void ff_read_frame_flush(AVFormatContext *s)
{
- FFFormatContext *const si = ffformatcontext(s);
-
ff_flush_packet_queue(s);
/* Reset read state for each stream. */
@@ -741,11 +739,6 @@ void ff_read_frame_flush(AVFormatContext *s)
for (int j = 0; j < MAX_REORDER_DELAY + 1; j++)
sti->pts_buffer[j] = AV_NOPTS_VALUE;
-#if FF_API_AVSTREAM_SIDE_DATA
- if (si->inject_global_side_data)
- sti->inject_global_side_data = 1;
-#endif
-
sti->skip_samples = 0;
}
}