aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/psxstr.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-27 18:36:51 +0100
committerDiego Biurrun <diego@biurrun.de>2013-08-02 19:19:02 +0200
commit7950e519bb094897f957b9a9531cc60ba46cbc91 (patch)
treeb8bcd2acc2a699c2c219e690d439a3f3eb0a6a44 /libavformat/psxstr.c
parent3a7050ffed5ce061b114a11e4de4b77aba8efa0b (diff)
downloadffmpeg-7950e519bb094897f957b9a9531cc60ba46cbc91.tar.gz
Disable deprecation warnings for cases where a replacement is available
Diffstat (limited to 'libavformat/psxstr.c')
-rw-r--r--libavformat/psxstr.c3
1 files changed, 3 insertions, 0 deletions
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;
}