diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-07 08:15:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 07:42:09 +0100 |
commit | 542b83fc90c188f868607861f2bb196a7c700835 (patch) | |
tree | 0949f202efca5e45dcf6fe6aaff9635f279dcadb /libswscale/swscale_unscaled.c | |
parent | d8b31be6caebd8d1321ecb754b6e7daaf81dc111 (diff) | |
download | ffmpeg-542b83fc90c188f868607861f2bb196a7c700835.tar.gz |
Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.
Diffstat (limited to 'libswscale/swscale_unscaled.c')
-rw-r--r-- | libswscale/swscale_unscaled.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index db79cbff22..a994d6f2f5 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -512,23 +512,23 @@ static int rgbToPlanarRgbWrapper(SwsContext *c, const uint8_t *src[], dst[1] + srcSliceY * dstStride[1] }; switch (c->srcFormat) { - case PIX_FMT_RGB24: + case AV_PIX_FMT_RGB24: packedtogbr24p((const uint8_t *) src[0], srcStride[0], dst201, stride201, srcSliceH, alpha_first, 3, c->srcW); break; - case PIX_FMT_BGR24: + case AV_PIX_FMT_BGR24: packedtogbr24p((const uint8_t *) src[0], srcStride[0], dst102, stride102, srcSliceH, alpha_first, 3, c->srcW); break; - case PIX_FMT_ARGB: + case AV_PIX_FMT_ARGB: alpha_first = 1; - case PIX_FMT_RGBA: + case AV_PIX_FMT_RGBA: packedtogbr24p((const uint8_t *) src[0], srcStride[0], dst201, stride201, srcSliceH, alpha_first, 4, c->srcW); break; - case PIX_FMT_ABGR: + case AV_PIX_FMT_ABGR: alpha_first = 1; - case PIX_FMT_BGRA: + case AV_PIX_FMT_BGRA: packedtogbr24p((const uint8_t *) src[0], srcStride[0], dst102, stride102, srcSliceH, alpha_first, 4, c->srcW); break; |