You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/mlpenc: analyze only if there are samples
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user