diff --git a/libavcodec/rasc.c b/libavcodec/rasc.c index 207d50c452..5ed1333886 100644 --- a/libavcodec/rasc.c +++ b/libavcodec/rasc.c @@ -722,6 +722,7 @@ static int decode_frame(AVCodecContext *avctx, break; default: bytestream2_skip(gb, size); + ret = 0; } if (ret < 0)