Commit c9b44a79 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avcodec/rasc: Fix potential use of uninitialized value

Fixes Coverity issue #1439566.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 4c7fec50
......@@ -721,6 +721,7 @@ static int decode_frame(AVCodecContext *avctx,
break;
default:
bytestream2_skip(gb, size);
ret = 0;
}
if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment