Mercurial > libavcodec.hg
comparison lclenc.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 | 6497251e2fde |
children | 7a463923ecd1 |
comparison
equal
deleted
inserted
replaced
7822:67cfe4983e6d | 7823:4525dcd81357 |
---|---|
162 | 162 |
163 switch(avctx->pix_fmt){ | 163 switch(avctx->pix_fmt){ |
164 case PIX_FMT_BGR24: | 164 case PIX_FMT_BGR24: |
165 c->imgtype = IMGTYPE_RGB24; | 165 c->imgtype = IMGTYPE_RGB24; |
166 c->decomp_size = avctx->width * avctx->height * 3; | 166 c->decomp_size = avctx->width * avctx->height * 3; |
167 avctx->bits_per_sample= 24; | 167 avctx->bits_per_coded_sample= 24; |
168 break; | 168 break; |
169 default: | 169 default: |
170 av_log(avctx, AV_LOG_ERROR, "Input pixel format %s not supported\n", avcodec_get_pix_fmt_name(avctx->pix_fmt)); | 170 av_log(avctx, AV_LOG_ERROR, "Input pixel format %s not supported\n", avcodec_get_pix_fmt_name(avctx->pix_fmt)); |
171 return -1; | 171 return -1; |
172 } | 172 } |