From 7950e519bb094897f957b9a9531cc60ba46cbc91 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 27 Mar 2013 18:36:51 +0100 Subject: Disable deprecation warnings for cases where a replacement is available --- libavformat/psxstr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/psxstr.c') diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index 712dbc9b92..e662ed788d 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@ -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; } -- cgit v1.2.3