projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84616b
)
ffv1: Assume bitdepth 0 means 8bit
author
Luca Barbato
<lu_zero@gentoo.org>
Sun, 13 Oct 2013 13:34:47 +0000
(15:34 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Tue, 15 Oct 2013 21:58:20 +0000
(23:58 +0200)
CC: libav-stable@libav.org
Reported-by: debian/726189
libavcodec/ffv1dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ffv1dec.c
b/libavcodec/ffv1dec.c
index 584755dfd2c5b756afd9247494d7c2e601e4ea67..f0a409f0a8e03e38710e2e458e29e05c7a41a9a1 100644
(file)
--- a/
libavcodec/ffv1dec.c
+++ b/
libavcodec/ffv1dec.c
@@
-669,6
+669,7
@@
static int read_header(FFV1Context *f)
return AVERROR(ENOSYS);
}
switch (f->avctx->bits_per_raw_sample) {
+ case 0:
case 8:
f->avctx->pix_fmt = AV_PIX_FMT_RGB32;
break;