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 --- libavdevice/lavfi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavdevice/lavfi.c') diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index c1c9cf55b8..bcfba8b4a6 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -60,7 +60,7 @@ static int *create_all_formats(int n) for (i = 0; i < n; i++) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i); - if (!(desc->flags & PIX_FMT_HWACCEL)) + if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL)) count++; } @@ -68,7 +68,7 @@ static int *create_all_formats(int n) return NULL; for (j = 0, i = 0; i < n; i++) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i); - if (!(desc->flags & PIX_FMT_HWACCEL)) + if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL)) fmts[j++] = i; } fmts[j] = -1; -- cgit v1.2.3