[FFmpeg-cvslog] avcodec/mlpenc: remove no more needed goto

Paul B Mahol git at videolan.org
Sun Sep 5 15:10:11 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Sep  5 14:03:16 2021 +0200| [cfc491bf449a9ed66afbba7bad5dad09f611c5a7] | committer: Paul B Mahol

avcodec/mlpenc: remove no more needed goto

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

 libavcodec/mlpenc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c
index 869c1a9951..31ec4ba040 100644
--- a/libavcodec/mlpenc.c
+++ b/libavcodec/mlpenc.c
@@ -2290,14 +2290,9 @@ input_and_return:
             ctx->next_major_frame_size = 0;
             ctx->major_number_of_frames = ctx->next_major_number_of_frames;
             ctx->next_major_number_of_frames = 0;
-
-            if (!ctx->major_frame_size)
-                goto no_data_left;
         }
     }
 
-no_data_left:
-
     if (!frame)
         avctx->frame_number++;
 



More information about the ffmpeg-cvslog mailing list