Commit 9328ae48 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'd9c89ef8'

* commit 'd9c89ef8':
  cllc: Use outbuf in RGB and ARGB functions
  cllc: Implement YUV support

Conflicts:
	libavcodec/cllc.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents bad8f04b d9c89ef8
......@@ -410,8 +410,11 @@ static int cllc_decode_frame(AVCodecContext *avctx, void *data,
avctx->pix_fmt = AV_PIX_FMT_YUV422P;
avctx->bits_per_raw_sample = 8;
if ((ret = ff_get_buffer(avctx, pic, 0)) < 0)
ret = ff_get_buffer(avctx, pic, 0);
if (ret < 0) {
av_log(avctx, AV_LOG_ERROR, "Could not allocate buffer.\n");
return ret;
}
ret = decode_yuv_frame(ctx, &gb, pic);
if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment