Skip to content

Commit

Permalink
avcodec/ffv1dec: Don't copy unused field
Browse files Browse the repository at this point in the history
The decoder always uses AVCodecContext.bits_per_raw_sample.

Signed-off-by: Andreas Rheinhardt <[email protected]>
  • Loading branch information
mkver committed Dec 19, 2021
1 parent 485121b commit 98f87c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libavcodec/ffv1dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 98f87c3

Please sign in to comment.