diff mbox

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

Message ID 20191010072951.8103-1-lq@chinaffmpeg.org
State Accepted
Commit d92b2296f85467af25b0ec95a6d6f6327db9e056
Headers show

Commit Message

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

Patch

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;
     }