mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mlpenc: analyze only if there are samples
This commit is contained in:
parent
2ca2d46f0b
commit
6a150fcdb9
|
@ -2189,7 +2189,8 @@ input_and_return:
|
|||
|
||||
input_to_sample_buffer(ctx);
|
||||
|
||||
analyze_sample_buffer(ctx);
|
||||
if (number_of_samples > 0)
|
||||
analyze_sample_buffer(ctx);
|
||||
}
|
||||
|
||||
if (ctx->frame_index == (ctx->max_restart_interval - 1)) {
|
||||
|
|
Loading…
Reference in New Issue