From c7c71f95f8d3e98babf8b6b7f1edc49f14e2c4c4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 15 May 2013 11:23:14 +0200 Subject: replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_* Signed-off-by: Michael Niedermayer --- libswscale/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/output.c') diff --git a/libswscale/output.c b/libswscale/output.c index 88c445f765..9c7284befe 100644 --- a/libswscale/output.c +++ b/libswscale/output.c @@ -1717,7 +1717,7 @@ yuv2gbrp_full_X_c(SwsContext *c, const int16_t *lumFilter, { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(c->dstFormat); int i; - int hasAlpha = (desc->flags & PIX_FMT_ALPHA) && alpSrc; + int hasAlpha = (desc->flags & AV_PIX_FMT_FLAG_ALPHA) && alpSrc; uint16_t **dest16 = (uint16_t**)dest; int SH = 22 + 7 - desc->comp[0].depth_minus1; int A = 0; // init to silence warning -- cgit v1.2.3