diff options
author | Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> | 2013-06-08 23:23:16 +0900 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2013-06-10 09:37:53 +0200 |
commit | b441fdeb1557a65d12d14c6e928411f47ea59870 (patch) | |
tree | 40a22ac83fb8f87f1a8335a56aa354a71d94ae09 | |
parent | a3b2b83f01a426376c539256b790beb7b9cec876 (diff) | |
download | ffmpeg-b441fdeb1557a65d12d14c6e928411f47ea59870.tar.gz |
utvideodec: Support ULH0 and ULH2 formats.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-rw-r--r-- | libavcodec/utvideodec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c index cf9d2d8da7..129034b84a 100644 --- a/libavcodec/utvideodec.c +++ b/libavcodec/utvideodec.c @@ -516,6 +516,14 @@ static av_cold int decode_init(AVCodecContext *avctx) c->planes = 3; avctx->pix_fmt = AV_PIX_FMT_YUV422P; break; + case MKTAG('U', 'L', 'H', '0'): + c->planes = 3; + avctx->pix_fmt = AV_PIX_FMT_YUV420P; + break; + case MKTAG('U', 'L', 'H', '2'): + c->planes = 3; + avctx->pix_fmt = AV_PIX_FMT_YUV422P; + break; default: av_log(avctx, AV_LOG_ERROR, "Unknown Ut Video FOURCC provided (%08X)\n", avctx->codec_tag); |