[FFmpeg-devel] [PATCH 2/2] avcodec/gifdec: don't set AVFrame.pkt_dts

Paul B Mahol onemda at gmail.com
Tue May 2 08:45:03 EEST 2017


On 5/2/17, James Almer <jamrial at gmail.com> wrote:
> decode.c already sets it to the default value.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/gifdec.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
> index 2eeed4c4c7..3d90210737 100644
> --- a/libavcodec/gifdec.c
> +++ b/libavcodec/gifdec.c
> @@ -467,7 +467,6 @@ FF_DISABLE_DEPRECATION_WARNINGS
>      s->frame->pkt_pts = avpkt->pts;
>  FF_ENABLE_DEPRECATION_WARNINGS
>  #endif
> -    s->frame->pkt_dts = avpkt->dts;
>      s->frame->pkt_duration = avpkt->duration;
>
>      if (avpkt->size >= 6) {

lgtm


More information about the ffmpeg-devel mailing list