aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-03 02:15:29 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-05 22:05:21 +0200
commitcd08bace553c701e8762ad6baa5529283717a58c (patch)
tree8e0ab593758aed208e583e62f3be9f7476285c90 /libavcodec/rv10.c
parentca3dea8a36f15d551ad9b95d7cccee5a9ef23010 (diff)
downloadffmpeg-cd08bace553c701e8762ad6baa5529283717a58c.tar.gz
avcodec/rv10: Remove dead code
Dead since 248a1aa54c08b14e8bd49147f59d954c41b5b3a3. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c3
1 files changed, 0 insertions, 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) {