Module: libav Branch: master Commit: a90905db2e6ab1840890f3a88bfd3bf008b9d886
Author: Luca Barbato <[email protected]> Committer: Luca Barbato <[email protected]> Date: Sun Oct 13 15:34:47 2013 +0200 ffv1: Assume bitdepth 0 means 8bit CC: [email protected] Reported-by: debian/726189 --- libavcodec/ffv1dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 584755d..f0a409f 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; _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
