From cd08bace553c701e8762ad6baa5529283717a58c Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 3 Oct 2023 02:15:29 +0200 Subject: [PATCH] avcodec/rv10: Remove dead code Dead since 248a1aa54c08b14e8bd49147f59d954c41b5b3a3. Reviewed-by: Michael Niedermayer Signed-off-by: Andreas Rheinhardt --- libavcodec/rv10.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index fbecfdae9f..3f9d5ff242 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -176,9 +176,6 @@ static int rv20_decode_picture_header(RVDecContext *rv, int whole_size) case 3: s->pict_type = AV_PICTURE_TYPE_B; break; - default: - av_log(s->avctx, AV_LOG_ERROR, "unknown frame type\n"); - return AVERROR_INVALIDDATA; } if (s->low_delay && s->pict_type == AV_PICTURE_TYPE_B) {