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,7 +2189,8 @@ input_and_return:
|
|||||||
|
|
||||||
input_to_sample_buffer(ctx);
|
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)) {
|
if (ctx->frame_index == (ctx->max_restart_interval - 1)) {
|
||||||
|
Reference in New Issue
Block a user