Commit fccde16a authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/flacenc: Simplify sizeof()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b70582e9
......@@ -969,7 +969,7 @@ static int encode_residual_ch(FlacEncodeContext *s, int ch)
score = find_subframe_rice_params(s, sub, opt_order);
if (score < best_score) {
best_score = score;
memcpy(coefs[opt_order-1], lpc_try, sizeof(coefs[opt_order-1]));
memcpy(coefs[opt_order-1], lpc_try, sizeof(*coefs));
improved=1;
}
}
......
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