[FFmpeg-devel] [PATCH] lavc/mips: simplify the switch code

Linjie Fu linjie.fu at intel.com
Wed Dec 11 10:48:03 EET 2019


Signed-off-by: Linjie Fu <linjie.fu at intel.com>
---
 libavcodec/mips/h264pred_init_mips.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/mips/h264pred_init_mips.c b/libavcodec/mips/h264pred_init_mips.c
index 63637b8..e537ad8 100644
--- a/libavcodec/mips/h264pred_init_mips.c
+++ b/libavcodec/mips/h264pred_init_mips.c
@@ -73,10 +73,7 @@ static av_cold void h264_pred_init_msa(H264PredContext *h, int codec_id,
 
         switch (codec_id) {
         case AV_CODEC_ID_SVQ3:
-            ;
-            break;
         case AV_CODEC_ID_RV40:
-            ;
             break;
         case AV_CODEC_ID_VP7:
         case AV_CODEC_ID_VP8:
-- 
2.7.4



More information about the ffmpeg-devel mailing list