summaryrefslogtreecommitdiff
path: root/libavutil/frame.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 /libavutil/frame.c
parent7c57a582a03fb473091a88737ab92b9f2a5bb87a (diff)
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
Diffstat (limited to 'libavutil/frame.c')
-rw-r--r--libavutil/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/frame.c b/libavutil/frame.c
index c4096e0f8f..cf60eb3229 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -93,7 +93,7 @@ static int get_video_buffer(AVFrame *frame, int align)
frame->data[i] = frame->buf[i]->data;
}
- if (desc->flags & PIX_FMT_PAL || desc->flags & PIX_FMT_PSEUDOPAL) {
+ if (desc->flags & AV_PIX_FMT_FLAG_PAL || desc->flags & AV_PIX_FMT_FLAG_PSEUDOPAL) {
av_buffer_unref(&frame->buf[1]);
frame->buf[1] = av_buffer_alloc(1024);
if (!frame->buf[1])