summaryrefslogtreecommitdiffstats
path: root/libavformat/img2enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-15 11:23:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-15 11:23:14 +0200
commitc7c71f95f8d3e98babf8b6b7f1edc49f14e2c4c4 (patch)
treeb734a52c2c51db2b0ccf4b4159abe9865746ceb2 /libavformat/img2enc.c
parentff4680922fc4f1295081da45173e9a71d141a045 (diff)
downloadffmpeg-streaming-c7c71f95f8d3e98babf8b6b7f1edc49f14e2c4c4.zip
ffmpeg-streaming-c7c71f95f8d3e98babf8b6b7f1edc49f14e2c4c4.tar.gz
replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/img2enc.c')
-rw-r--r--libavformat/img2enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c
index a2b61d7..551d880 100644
--- a/libavformat/img2enc.c
+++ b/libavformat/img2enc.c
@@ -60,7 +60,7 @@ static int write_header(AVFormatContext *s)
&& s->nb_streams == 1
&& st->codec->codec_id == AV_CODEC_ID_RAWVIDEO
&& desc
- &&(desc->flags & PIX_FMT_PLANAR)
+ &&(desc->flags & AV_PIX_FMT_FLAG_PLANAR)
&& desc->nb_components >= 3;
return 0;
}
OpenPOWER on IntegriCloud