Mercurial > libavformat.hg
diff wv.c @ 3908:1d3d17de20ba libavformat
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 | 17c0ce4cc314 |
| children | 7d2f3f1b68d8 |
line wrap: on
line diff
--- a/wv.c Mon Sep 08 00:58:24 2008 +0000 +++ b/wv.c Mon Sep 08 14:24:59 2008 +0000 @@ -151,7 +151,7 @@ st->codec->codec_id = CODEC_ID_WAVPACK; st->codec->channels = wc->chan; st->codec->sample_rate = wc->rate; - st->codec->bits_per_sample = wc->bpp; + st->codec->bits_per_coded_sample = wc->bpp; av_set_pts_info(st, 64, 1, wc->rate); s->start_time = 0; s->duration = (int64_t)wc->samples * AV_TIME_BASE / st->codec->sample_rate;
