]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avs.c
Fix compile on Darwin (FATE). Compile error:
[ffmpeg] / libavformat / avs.c
index 9cdd336c05adfe4d19d13ec5c718ab05ad05c18d..caf3a892bb7dcf80d63f7389929ee10f92b3c16a 100644 (file)
@@ -113,7 +113,7 @@ avs_read_video_packet(AVFormatContext * s, AVPacket * pkt,
     pkt->size = ret + palette_size;
     pkt->stream_index = avs->st_video->index;
     if (sub_type == 0)
-        pkt->flags |= PKT_FLAG_KEY;
+        pkt->flags |= AV_PKT_FLAG_KEY;
 
     return 0;
 }
@@ -134,7 +134,7 @@ static int avs_read_audio_packet(AVFormatContext * s, AVPacket * pkt)
         return ret;
 
     pkt->stream_index = avs->st_audio->index;
-    pkt->flags |= PKT_FLAG_KEY;
+    pkt->flags |= AV_PKT_FLAG_KEY;
 
     return size;
 }