[FFmpeg-cvslog] avformat/segafilmenc: remove unneeded code

Steven Liu git at videolan.org
Tue Oct 22 06:20:21 EEST 2019


ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Thu Oct 10 15:10:48 2019 +0800| [d92b2296f85467af25b0ec95a6d6f6327db9e056] | committer: Steven Liu

avformat/segafilmenc: remove unneeded code

Signed-off-by: Steven Liu <lq at chinaffmpeg.org>

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

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



More information about the ffmpeg-cvslog mailing list