mirror of https://git.ffmpeg.org/ffmpeg.git
fftools/ffplay: remove usage of internal AVInputFormat.read_seek field
It's an internal field, so it should not be touched. Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
25a91824af
commit
50f34172e0
|
@ -2639,7 +2639,7 @@ static int stream_component_open(VideoState *is, int stream_index)
|
|||
|
||||
if ((ret = decoder_init(&is->auddec, avctx, &is->audioq, is->continue_read_thread)) < 0)
|
||||
goto fail;
|
||||
if ((is->ic->iformat->flags & (AVFMT_NOBINSEARCH | AVFMT_NOGENSEARCH | AVFMT_NO_BYTE_SEEK)) && !is->ic->iformat->read_seek) {
|
||||
if (is->ic->iformat->flags & AVFMT_NOTIMESTAMPS) {
|
||||
is->auddec.start_pts = is->audio_st->start_time;
|
||||
is->auddec.start_pts_tb = is->audio_st->time_base;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue