Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Anton Khirnov <anton@khirnov.net>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup
Date: Sun, 21 May 2023 12:05:42 +0200
Message-ID: <168466354294.3843.16244918764709545887@lain.khirnov.net> (raw)
In-Reply-To: <CAPYw7P5VbtxY3dNYTqF7XciSxDerDiXqSXVvapT3sFHm-3QXhQ@mail.gmail.com>

Quoting Paul B Mahol (2023-05-21 11:38:09)
> From cbc9c6ea4df153caece779b9052761f23d6d31a1 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda@gmail.com>
> Date: Sun, 21 May 2023 02:14:35 +0200
> Subject: [PATCH 2/3] avcodec/gifdec: set frame time_base
> 
> Signed-off-by: Paul B Mahol <onemda@gmail.com>
> ---
>  libavcodec/gifdec.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
> index 0835c5bdd0..d66e16105b 100644
> --- a/libavcodec/gifdec.c
> +++ b/libavcodec/gifdec.c
> @@ -454,6 +454,7 @@ static av_cold int gif_decode_init(AVCodecContext *avctx)
>  
>      s->avctx = avctx;
>  
> +    avctx->time_base = av_make_q(1, 100);

The meaning of this field is not defined for decoding, so you should not
set it.

-- 
Anton Khirnov
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  reply	other threads:[~2023-05-21 10:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-21  9:38 Paul B Mahol
2023-05-21 10:05 ` Anton Khirnov [this message]
2023-05-21 11:24 ` Paul B Mahol
2023-05-21 17:36   ` Michael Niedermayer
2023-05-21 17:59     ` Paul B Mahol
2023-05-21 19:25 ` Paul B Mahol
2023-05-21 19:37   ` James Almer
2023-05-21 20:02     ` Paul B Mahol
2023-05-21 20:06       ` James Almer
2023-05-21 21:42         ` Paul B Mahol
2023-05-22 15:49 ` Paul B Mahol
2023-05-22 16:04   ` James Almer
2023-05-22 16:07   ` James Almer
2023-05-22 16:10     ` Anton Khirnov
2023-05-22 16:19 ` Paul B Mahol
2023-05-22 20:01   ` James Almer
2023-05-23 21:51   ` Michael Niedermayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=168466354294.3843.16244918764709545887@lain.khirnov.net \
    --to=anton@khirnov.net \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git