mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
avcodec/flacenc: Simplify sizeof()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b70582e92f
commit
fccde16afa
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user