mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/rasc: Fix potential use of uninitialized value
Fixes Coverity issue #1439566. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
4c7fec5006
commit
c9b44a79d1
|
@ -721,6 +721,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||
break;
|
||||
default:
|
||||
bytestream2_skip(gb, size);
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Reference in New Issue