Mercurial > libavcodec.hg
diff targa.c @ 4128:2e93c877d264 libavcodec
Use bpp from header in error message
| author | kostya |
|---|---|
| date | Fri, 03 Nov 2006 04:42:11 +0000 |
| parents | 54c7481b381e |
| children | c9e0315f9954 |
line wrap: on
line diff
--- a/targa.c Fri Nov 03 02:03:56 2006 +0000 +++ b/targa.c Fri Nov 03 04:42:11 2006 +0000 @@ -129,7 +129,7 @@ avctx->pix_fmt = PIX_FMT_BGR24; break; default: - av_log(avctx, AV_LOG_ERROR, "Bit depth %i is not supported\n", avctx->bits_per_sample); + av_log(avctx, AV_LOG_ERROR, "Bit depth %i is not supported\n", s->bpp); return -1; }
