summaryrefslogtreecommitdiff
path: root/libavcodec/rasc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rasc.c')
-rw-r--r--libavcodec/rasc.c1
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)