aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asfdec_f.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-09-05 16:51:53 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-09-05 16:51:53 +0200
commit83a5df54eae6dddea7c453fd25c45c7b9c148925 (patch)
treedd2055e828b1c4dce1b80b0f077c4a658e7700f7 /libavformat/asfdec_f.c
parent87c88122703f2befcf96383d05bdf14373c22df9 (diff)
downloadffmpeg-83a5df54eae6dddea7c453fd25c45c7b9c148925.tar.gz
Remove left-over FF_API_DESTRUCT_PACKET cruft
Diffstat (limited to 'libavformat/asfdec_f.c')
-rw-r--r--libavformat/asfdec_f.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c
index a30b7d7212..7c31cfaee4 100644
--- a/libavformat/asfdec_f.c
+++ b/libavformat/asfdec_f.c
@@ -1420,11 +1420,6 @@ static int asf_parse_packet(AVFormatContext *s, AVIOContext *pb, AVPacket *pkt)
}
asf_st->frag_offset = 0;
*pkt = asf_st->pkt;
-#if FF_API_DESTRUCT_PACKET
-FF_DISABLE_DEPRECATION_WARNINGS
- asf_st->pkt.destruct = NULL;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
asf_st->pkt.buf = 0;
asf_st->pkt.size = 0;
asf_st->pkt.data = 0;