summaryrefslogtreecommitdiff
path: root/libavformat/yop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/yop.c')
-rw-r--r--libavformat/yop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yop.c b/libavformat/yop.c
index 9c0e5822b5..4fa2df13e3 100644
--- a/libavformat/yop.c
+++ b/libavformat/yop.c
@@ -127,7 +127,7 @@ static int yop_read_packet(AVFormatContext *s, AVPacket *pkt)
yop->video_packet.data = NULL;
yop->video_packet.size = 0;
pkt->data[0] = yop->odd_frame;
- pkt->flags |= PKT_FLAG_KEY;
+ pkt->flags |= AV_PKT_FLAG_KEY;
yop->odd_frame ^= 1;
return pkt->size;
}