[FFmpeg-devel] [PATCH] lavf/utils: reset event_flags if extradata is not extracted correctly

Anton Khirnov anton at khirnov.net
Sun Jan 24 18:49:27 EET 2021


Quoting Linjie Fu (2021-01-24 16:05:56)
> Regression since 87f0c8280.
> 
> If the extradata of a stream could not be extracted correctly,
> codec_info_nb_frames would remain zero, while st->event_flag would still
> be marked as AVSTREAM_EVENT_FLAG_NEW_PACKETS.
> 
> The two expressions could be different in this case, hence reset
> event_flags and calculate the correct score.
> 
> Fix #9029.

The ticket mentions ffplay, but ffplay does not access event_flags.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list