avcodec/mlpenc: analyze only if there are samples

pull/388/head
Paul B Mahol 2 years ago
parent 2ca2d46f0b
commit 6a150fcdb9
  1. 3
      libavcodec/mlpenc.c

@ -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…
Cancel
Save