From 82796aacab1bea42c345221abb86d3f4db4371f3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 13 Apr 2014 18:27:05 +0200 Subject: [PATCH] avformat/utils: reinject global side data on seeks This fixes ffplay replaygain with seeking Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 768acd4be0..20145770a6 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1716,6 +1716,8 @@ void ff_read_frame_flush(AVFormatContext *s) for (j = 0; j < MAX_REORDER_DELAY + 1; j++) st->pts_buffer[j] = AV_NOPTS_VALUE; + + st->global_side_data_injected = 0; } }