diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-05-12 15:41:49 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-05-15 07:46:51 +0200 |
commit | e6c4ac7b5f038be56dfbb0171f5dd0cb850d9b28 (patch) | |
tree | f9d632e93ffd3b2fb7973da19bf1af63b1e33889 /libavcodec/pnm.c | |
parent | 7c57a582a03fb473091a88737ab92b9f2a5bb87a (diff) | |
download | ffmpeg-e6c4ac7b5f038be56dfbb0171f5dd0cb850d9b28.tar.gz |
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
Diffstat (limited to 'libavcodec/pnm.c')
-rw-r--r-- | libavcodec/pnm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c index 9d7c68dc64..eea30e8621 100644 --- a/libavcodec/pnm.c +++ b/libavcodec/pnm.c @@ -173,7 +173,7 @@ int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s) }else s->maxval=1; /* more check if YUV420 */ - if (av_pix_fmt_desc_get(avctx->pix_fmt)->flags & PIX_FMT_PLANAR) { + if (av_pix_fmt_desc_get(avctx->pix_fmt)->flags & AV_PIX_FMT_FLAG_PLANAR) { if ((avctx->width & 1) != 0) return AVERROR_INVALIDDATA; h = (avctx->height * 2); |