[FFmpeg-devel] [PATCH 09/12] avcodec/rv10: Remove dead code

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Oct 3 19:04:01 EEST 2023


Dead since 248a1aa54c08b14e8bd49147f59d954c41b5b3a3.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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) {
-- 
2.34.1



More information about the ffmpeg-devel mailing list