OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f1885
)
Use bpp from header in error message
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Fri, 3 Nov 2006 04:42:11 +0000
(
04:42
+0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Fri, 3 Nov 2006 04:42:11 +0000
(
04:42
+0000)
Originally committed as revision 6878 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/targa.c
patch
|
blob
|
history
diff --git
a/libavcodec/targa.c
b/libavcodec/targa.c
index
4f83bb6
..
c3d6010
100644
(file)
--- a/
libavcodec/targa.c
+++ b/
libavcodec/targa.c
@@
-129,7
+129,7
@@
static int decode_frame(AVCodecContext *avctx,
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;
}