[FFmpeg-cvslog] avcodec/ffv1dec: Don't copy unused field

Andreas Rheinhardt git at videolan.org
Sun Dec 19 03:43:27 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Apr 21 12:31:14 2021 +0200| [98f87c3d2920c14985de5ac8b7c698a20b03468f] | committer: Andreas Rheinhardt

avcodec/ffv1dec: Don't copy unused field

The decoder always uses AVCodecContext.bits_per_raw_sample.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=98f87c3d2920c14985de5ac8b7c698a20b03468f
---

 libavcodec/ffv1dec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index c6af4e9bc0..810b2e18f0 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -992,7 +992,6 @@ static void copy_fields(FFV1Context *fsdst, const FFV1Context *fssrc,
     fsdst->slice_damaged       = fssrc->slice_damaged;
     fsdst->key_frame_ok        = fsrc->key_frame_ok;
 
-    fsdst->bits_per_raw_sample = fsrc->bits_per_raw_sample;
     fsdst->packed_at_lsb       = fsrc->packed_at_lsb;
     fsdst->slice_count         = fsrc->slice_count;
     if (fsrc->version<3){



More information about the ffmpeg-cvslog mailing list