diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-13 18:27:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-13 18:27:05 +0200 |
commit | 82796aacab1bea42c345221abb86d3f4db4371f3 (patch) | |
tree | 47fa28c471634c67f779a100bf41d3bad6f13109 | |
parent | c0d62d999d0ecf072b6352f346b7e17841f2598c (diff) | |
download | ffmpeg-82796aacab1bea42c345221abb86d3f4db4371f3.tar.gz |
avformat/utils: reinject global side data on seeks
This fixes ffplay replaygain with seeking
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |