Commit 7e985c9e authored by Diego Biurrun's avatar Diego Biurrun
Browse files

mpegaudioenc: Fix broken av_dlog statement.

parent b0a4e5f9
......@@ -544,11 +544,11 @@ static void compute_bit_allocation(MpegAudioContext *s,
}
}
}
av_dlog(NULL, "current=%d max=%d max_sb=%d alloc=%d\n",
current_frame_size, max_frame_size, max_sb,
bit_alloc[max_sb]);
if (max_sb < 0)
break;
av_dlog(NULL, "current=%d max=%d max_sb=%d max_ch=%d alloc=%d\n",
current_frame_size, max_frame_size, max_sb, max_ch,
bit_alloc[max_ch][max_sb]);
/* find alloc table entry (XXX: not optimal, should use
pointer table) */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment