OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93ccf5
)
pictor: use the correct logging context
author
Luca Barbato
<lu_zero@gentoo.org>
Sat, 29 Jun 2013 03:41:58 +0000
(
05:41
+0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Sat, 29 Jun 2013 16:11:12 +0000
(18:11 +0200)
Broken in
6d97484d72e33f7dde9493a9ead1a72e2f029605
libavcodec/pictordec.c
patch
|
blob
|
history
diff --git
a/libavcodec/pictordec.c
b/libavcodec/pictordec.c
index
9c884ff
..
2a6e391
100644
(file)
--- a/
libavcodec/pictordec.c
+++ b/
libavcodec/pictordec.c
@@
-123,7
+123,7
@@
static int decode_frame(AVCodecContext *avctx,
s->nb_planes = (tmp >> 4) + 1;
bpp = bits_per_plane * s->nb_planes;
if (bits_per_plane > 8 || bpp < 1 || bpp > 32) {
- avpriv_request_sample(
s
, "Unsupported bit depth");
+ avpriv_request_sample(
avctx
, "Unsupported bit depth");
return AVERROR_PATCHWELCOME;
}