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

Linjie Fu git at videolan.org
Thu Dec 12 20:39:51 EET 2019


ffmpeg | branch: master | Linjie Fu <linjie.fu at intel.com> | Wed Dec 11 16:48:03 2019 +0800| [bffb9326b6b30656d73039d5dfbe755e76846aea] | committer: Michael Niedermayer

lavc/mips: simplify the switch code

Signed-off-by: Linjie Fu <linjie.fu at intel.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 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 63637b8732..e537ad8bd4 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:



More information about the ffmpeg-cvslog mailing list