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

Steven Liu lq at chinaffmpeg.org
Thu Oct 10 10:29:49 EEST 2019


Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
 libavformat/segafilmenc.c | 2 --
 1 file changed, 2 deletions(-)

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






More information about the ffmpeg-devel mailing list