diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-03 14:53:31 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-07 11:34:20 +0200 |
commit | c9b44a79d1bc87251f36926b288f79adefec397f (patch) | |
tree | 87c1ce916fa2581cbdfbbd20c76b550e60c11539 | |
parent | 4c7fec50068e40734116008866f424710882eb38 (diff) | |
download | ffmpeg-c9b44a79d1bc87251f36926b288f79adefec397f.tar.gz |
avcodec/rasc: Fix potential use of uninitialized value
Fixes Coverity issue #1439566.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/rasc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rasc.c b/libavcodec/rasc.c index 7fedf73878..b328e219bb 100644 --- a/libavcodec/rasc.c +++ b/libavcodec/rasc.c @@ -721,6 +721,7 @@ static int decode_frame(AVCodecContext *avctx, break; default: bytestream2_skip(gb, size); + ret = 0; } if (ret < 0) |