diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-10-13 15:34:47 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-01-05 17:15:41 -0500 |
commit | 2656036757227148a442d9c0934ee49bb97a31d1 (patch) | |
tree | c9759751c15fcf1806afef9f63f568243d66e741 | |
parent | f9f2591beb1125237be803f1f9b6c576f5ae60a7 (diff) | |
download | ffmpeg-2656036757227148a442d9c0934ee49bb97a31d1.tar.gz |
ffv1: Assume bitdepth 0 means 8bit
CC: libav-stable@libav.org
Reported-by: debian/726189
(cherry picked from commit a90905db2e6ab1840890f3a88bfd3bf008b9d886)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rw-r--r-- | libavcodec/ffv1dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 97e2bd5873..e74598cd68 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -670,6 +670,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; |