[FFmpeg-devel,v1,1/3] avformat/segafilmenc: remove unneeded code

Submitted by Steven Liu on Oct. 10, 2019, 7:29 a.m.

Details

Message ID 20191010072951.8103-1-lq@chinaffmpeg.org
State New
Headers show

Commit Message

Steven Liu Oct. 10, 2019, 7:29 a.m.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
---
 libavformat/segafilmenc.c | 2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/libavformat/segafilmenc.c b/libavformat/segafilmenc.c
index 524230e461..f1048ff808 100644
--- a/libavformat/segafilmenc.c
+++ b/libavformat/segafilmenc.c
@@ -147,10 +147,8 @@  static int get_audio_codec_id(enum AVCodecID codec_id)
     case AV_CODEC_ID_PCM_S8_PLANAR:
     case AV_CODEC_ID_PCM_S16BE_PLANAR:
         return 0;
-        break;
     case AV_CODEC_ID_ADPCM_ADX:
         return 2;
-        break;
     default:
         return -1;
     }