avcodec/rasc: Fix potential use of uninitialized value

Fixes Coverity issue #1439566.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/370/head
Andreas Rheinhardt 3 years ago
parent 4c7fec5006
commit c9b44a79d1
  1. 1
      libavcodec/rasc.c

@ -721,6 +721,7 @@ static int decode_frame(AVCodecContext *avctx,
break;
default:
bytestream2_skip(gb, size);
ret = 0;
}
if (ret < 0)

Loading…
Cancel
Save