diff mbox series

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

Message ID 20210313002624.2332392-1-andreas.rheinhardt@gmail.com
State Accepted
Commit 8e77624e849ce4cb51587583ea018ba568e77026
Headers show
Series [FFmpeg-devel] avcodec/decode: Remove outdated comment | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt March 13, 2021, 12:26 a.m. UTC
Removing it was forgotten in 417d473bde220a1f267bc694835c129a5adc4309.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/decode.c | 1 -
 1 file changed, 1 deletion(-)

Comments

James Almer March 13, 2021, 1:35 a.m. UTC | #1
On 3/12/2021 9:26 PM, Andreas Rheinhardt wrote:
> Removing it was forgotten in 417d473bde220a1f267bc694835c129a5adc4309.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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.
diff mbox series

Patch

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;