mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
avcodec/mlpenc: analyze only if there are samples
This commit is contained in:
parent
2ca2d46f0b
commit
6a150fcdb9
@ -2189,6 +2189,7 @@ input_and_return:
|
|||||||
|
|
||||||
input_to_sample_buffer(ctx);
|
input_to_sample_buffer(ctx);
|
||||||
|
|
||||||
|
if (number_of_samples > 0)
|
||||||
analyze_sample_buffer(ctx);
|
analyze_sample_buffer(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user