diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-06-09 15:30:27 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-06-09 15:30:27 +0200 |
commit | 0c7fa152b9d7cdcae8fc2714b12cf8eba6808799 (patch) | |
tree | f404106847e2489f231f5f59735e924c7fa24193 | |
parent | e826ceeb5594c5e63860ec5e5050f86307456898 (diff) | |
download | ffmpeg-0c7fa152b9d7cdcae8fc2714b12cf8eba6808799.tar.gz |
avcodec/sheervideo: supports some other 8bit formats
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/sheervideo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c index dd511ee941..b39e67b994 100644 --- a/libavcodec/sheervideo.c +++ b/libavcodec/sheervideo.c @@ -2277,6 +2277,7 @@ static int decode_frame(AVCodecContext *avctx, build_vlc(&s->vlc[1], l_g_rgbi, 256); } break; + case MKTAG('A', 'Y', 'B', 'R'): case MKTAG('A', 'Y', 'b', 'R'): avctx->pix_fmt = AV_PIX_FMT_YUVA444P; s->decode_frame = decode_aybr; @@ -2285,6 +2286,7 @@ static int decode_frame(AVCodecContext *avctx, build_vlc(&s->vlc[1], l_u_ybr, 256); } break; + case MKTAG('A', 'y', 'B', 'R'): case MKTAG('A', 'y', 'b', 'R'): avctx->pix_fmt = AV_PIX_FMT_YUVA444P; s->decode_frame = decode_aybri; @@ -2293,6 +2295,7 @@ static int decode_frame(AVCodecContext *avctx, build_vlc(&s->vlc[1], l_u_ybri, 256); } break; + case MKTAG(' ', 'Y', 'B', 'R'): case MKTAG(' ', 'Y', 'b', 'R'): avctx->pix_fmt = AV_PIX_FMT_YUV444P; s->decode_frame = decode_ybr; @@ -2301,6 +2304,7 @@ static int decode_frame(AVCodecContext *avctx, build_vlc(&s->vlc[1], l_u_ybr, 256); } break; + case MKTAG(' ', 'y', 'B', 'R'): case MKTAG(' ', 'y', 'b', 'R'): avctx->pix_fmt = AV_PIX_FMT_YUV444P; s->decode_frame = decode_ybri; |