ffmpeg | branch: master | Paul B Mahol <[email protected]> | 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++;
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to