Unified · Split
| @@ -150,9 +150,7 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx) · 149 unmodified lines | |||
| 150 | s->h263_flv = 1; | 150 | s->h263_flv = 1; |
| 151 | break; | 151 | break; |
| 152 | default: | 152 | default: |
| 153 | av_log(avctx, AV_LOG_ERROR, "Unsupported codec %d\n", | 153 | av_unreachable("Switch contains a case for every codec using ff_h263_decode_init()"); |
| 154 | avctx->codec->id); | ||
| 155 | return AVERROR(ENOSYS); | ||
| 156 | } | 154 | } |
| 157 | 155 | ||
| 158 | if (avctx->codec_tag == AV_RL32("L263") || avctx->codec_tag == AV_RL32("S263")) | 156 | if (avctx->codec_tag == AV_RL32("L263") || avctx->codec_tag == AV_RL32("S263")) |