Mercurial > libavcodec.hg
diff alac.c @ 7823:4525dcd81357 libavcodec
Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!
author | michael |
---|---|
date | Mon, 08 Sep 2008 14:24:59 +0000 |
parents | 6fe7ff34a4db |
children | fe449020b713 |
line wrap: on
line diff
--- a/alac.c Mon Sep 08 13:37:12 2008 +0000 +++ b/alac.c Mon Sep 08 14:24:59 2008 +0000 @@ -597,7 +597,7 @@ alac->context_initialized = 0; alac->numchannels = alac->avctx->channels; - alac->bytespersample = (avctx->bits_per_sample / 8) * alac->numchannels; + alac->bytespersample = (avctx->bits_per_coded_sample / 8) * alac->numchannels; avctx->sample_fmt = SAMPLE_FMT_S16; return 0;