ffv1: Assume bitdepth 0 means 8bit

CC: libav-stable@libav.org
Reported-by: debian/726189
This commit is contained in:
Luca Barbato 2013-10-13 15:34:47 +02:00
parent a84616b736
commit a90905db2e
1 changed files with 1 additions and 0 deletions

View File

@ -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;