[FFmpeg-devel] [PATCH] avcodec/decode: Remove outdated comment

James Almer jamrial at gmail.com
Sat Mar 13 03:35:10 EET 2021


On 3/12/2021 9:26 PM, Andreas Rheinhardt wrote:
> Removing it was forgotten in 417d473bde220a1f267bc694835c129a5adc4309.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>   libavcodec/decode.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/libavcodec/decode.c b/libavcodec/decode.c
> index 495e9e8b23..5f7e9bda3e 100644
> --- a/libavcodec/decode.c
> +++ b/libavcodec/decode.c
> @@ -299,7 +299,6 @@ static inline int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame,
>       AVCodecInternal   *avci = avctx->internal;
>       DecodeSimpleContext *ds = &avci->ds;
>       AVPacket           *pkt = ds->in_pkt;
> -    // copy to ensure we do not change pkt
>       int got_frame, actual_got_frame;
>       int ret;

LGTM.


More information about the ffmpeg-devel mailing list