[FFmpeg-devel] [PATCH] ffplay: don't shadow global variable
Marton Balint
cus at passwd.hu
Mon Mar 21 00:58:55 EET 2022
On Wed, 16 Mar 2022, Zhao Zhili wrote:
> ---
> fftools/ffplay.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fftools/ffplay.c b/fftools/ffplay.c
> index 92ad7ce1a6..b583225d53 100644
> --- a/fftools/ffplay.c
> +++ b/fftools/ffplay.c
> @@ -1454,13 +1454,13 @@ static void check_external_clock_speed(VideoState *is) {
> }
>
> /* seek in the stream */
> -static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_bytes)
> +static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int by_bytes)
> {
> if (!is->seek_req) {
> is->seek_pos = pos;
> is->seek_rel = rel;
> is->seek_flags &= ~AVSEEK_FLAG_BYTE;
> - if (seek_by_bytes)
> + if (by_bytes)
> is->seek_flags |= AVSEEK_FLAG_BYTE;
> is->seek_req = 1;
> SDL_CondSignal(is->continue_read_thread);
> --
Will apply, thanks.
Marton
More information about the ffmpeg-devel
mailing list