1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avformat/utils: reinject global side data on seeks

This fixes ffplay replaygain with seeking

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-04-13 18:27:05 +02:00
parent c0d62d999d
commit 82796aacab

View File

@ -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;
}
}