Mercurial > libavcodec.hg
comparison truemotion1.c @ 4494:ce643a22f049 libavcodec
Replace deprecated PIX_FMT names by the newer variants.
author | diego |
---|---|
date | Wed, 07 Feb 2007 01:48:09 +0000 |
parents | 16e85254118f |
children | 726deec26122 |
comparison
equal
deleted
inserted
replaced
4493:e78c415815f3 | 4494:ce643a22f049 |
---|---|
415 } | 415 } |
416 } | 416 } |
417 | 417 |
418 // FIXME: where to place this ?!?! | 418 // FIXME: where to place this ?!?! |
419 if (compression_types[header.compression].algorithm == ALGO_RGB24H) | 419 if (compression_types[header.compression].algorithm == ALGO_RGB24H) |
420 s->avctx->pix_fmt = PIX_FMT_RGBA32; | 420 s->avctx->pix_fmt = PIX_FMT_RGB32; |
421 else | 421 else |
422 s->avctx->pix_fmt = PIX_FMT_RGB555; // RGB565 is supported aswell | 422 s->avctx->pix_fmt = PIX_FMT_RGB555; // RGB565 is supported aswell |
423 | 423 |
424 if ((header.deltaset != s->last_deltaset) || (header.vectable != s->last_vectable)) | 424 if ((header.deltaset != s->last_deltaset) || (header.vectable != s->last_vectable)) |
425 { | 425 { |