]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/psxstr.c
http: Add an option for forcing basic authentication
[ffmpeg] / libavformat / psxstr.c
index 712dbc9b9272bcfd2a9af637c60a4c5e51102720..e662ed788dcd80638050655b251798e59f63372f 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #include "libavutil/channel_layout.h"
+#include "libavutil/internal.h"
 #include "libavutil/intreadwrite.h"
 #include "avformat.h"
 #include "internal.h"
@@ -203,7 +204,9 @@ static int str_read_packet(AVFormatContext *s,
                     pkt->size= -1;
                     pkt->buf = NULL;
 #if FF_API_DESTRUCT_PACKET
+FF_DISABLE_DEPRECATION_WARNINGS
                     pkt->destruct = NULL;
+FF_ENABLE_DEPRECATION_WARNINGS
 #endif
                     return 0;
                 }