summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1enc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-05-12 15:41:49 +0200
committerAnton Khirnov <anton@khirnov.net>2013-05-15 07:46:51 +0200
commite6c4ac7b5f038be56dfbb0171f5dd0cb850d9b28 (patch)
treef9d632e93ffd3b2fb7973da19bf1af63b1e33889 /libavcodec/ffv1enc.c
parent7c57a582a03fb473091a88737ab92b9f2a5bb87a (diff)
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
Diffstat (limited to 'libavcodec/ffv1enc.c')
-rw-r--r--libavcodec/ffv1enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index b7a2b22e1e..b0c79b932f 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -875,7 +875,7 @@ static int encode_slice(AVCodecContext *c, void *arg)
int x = fs->slice_x;
int y = fs->slice_y;
AVFrame *const p = &f->picture;
- const int ps = (av_pix_fmt_desc_get(c->pix_fmt)->flags & PIX_FMT_PLANAR)
+ const int ps = (av_pix_fmt_desc_get(c->pix_fmt)->flags & AV_PIX_FMT_FLAG_PLANAR)
? (f->bits_per_raw_sample > 8) + 1
: 4;