avcodec/ffv1dec: Don't copy unused field

The decoder always uses AVCodecContext.bits_per_raw_sample.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/379/head
Andreas Rheinhardt 4 years ago
parent 485121b92c
commit 98f87c3d29
  1. 1
      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){

Loading…
Cancel
Save