[FFmpeg-cvslog] avcodec/rv10: Remove dead code

Andreas Rheinhardt git at videolan.org
Thu Oct 5 23:04:57 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Oct  3 02:15:29 2023 +0200| [cd08bace553c701e8762ad6baa5529283717a58c] | committer: Andreas Rheinhardt

avcodec/rv10: Remove dead code

Dead since 248a1aa54c08b14e8bd49147f59d954c41b5b3a3.

Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd08bace553c701e8762ad6baa5529283717a58c
---

 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) {



More information about the ffmpeg-cvslog mailing list