summaryrefslogtreecommitdiff
path: root/libavformat/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-04 21:41:59 +0100
committerAnton Khirnov <anton@khirnov.net>2012-03-20 20:12:16 +0100
commit3c90cc2ef21a928a7c11cf5a4583169025cdf847 (patch)
treef1cdaeec0d5115db10222ddb95c464b468821501 /libavformat/version.h
parentf63412fc741e9936b71141e7f15ab8aa39ad72f9 (diff)
lavf: deprecate av_read_packet().
The caller can achieve the same effect (i.e. getting raw unparsed/mangled packets) with av_read_frame() and AVFMT_FLAG_NOPARSE | AVFMT_FLAG_NOFILLIN
Diffstat (limited to 'libavformat/version.h')
-rw-r--r--libavformat/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/version.h b/libavformat/version.h
index bcc8c4dca5..ac1c5473bd 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -53,5 +53,8 @@
#ifndef FF_API_APPLEHTTP_PROTO
#define FF_API_APPLEHTTP_PROTO (LIBAVFORMAT_VERSION_MAJOR < 55)
#endif
+#ifndef FF_API_READ_PACKET
+#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 55)
+#endif
#endif /* AVFORMAT_VERSION_H */