Browse Source

avcodec/flacenc: Simplify sizeof()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
fccde16afa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/flacenc.c

+ 1
- 1
libavcodec/flacenc.c View File

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