Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-10-13 17:34:47 +0400
committerLuca Barbato <lu_zero@gentoo.org>2013-10-16 01:58:20 +0400
commita90905db2e6ab1840890f3a88bfd3bf008b9d886 (patch)
treea2b2e34dff2983845982f7bda2c36bc6154df219 /libavcodec/ffv1dec.c
parenta84616b736fca5ebd6b87489dd41bc06ccdf7860 (diff)
ffv1: Assume bitdepth 0 means 8bit
CC: libav-stable@libav.org Reported-by: debian/726189
Diffstat (limited to 'libavcodec/ffv1dec.c')
-rw-r--r--libavcodec/ffv1dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index 584755dfd2..f0a409f0a8 100644
--- 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;