1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00

avcodec/mlpenc: remove no more needed goto

This commit is contained in:
Paul B Mahol 2021-09-05 14:03:16 +02:00
parent a947098558
commit cfc491bf44

View File

@ -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++;