Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-05 00:41:59 +0400
committerAnton Khirnov <anton@khirnov.net>2012-03-20 23:12:16 +0400
commit3c90cc2ef21a928a7c11cf5a4583169025cdf847 (patch)
treef1cdaeec0d5115db10222ddb95c464b468821501 /libavformat/internal.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/internal.h')
-rw-r--r--libavformat/internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index c30deb7732..ad300325cb 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -318,4 +318,13 @@ int ff_add_param_change(AVPacket *pkt, int32_t channels,
*/
int ff_framehash_write_header(AVFormatContext *s);
+/**
+ * Read a transport packet from a media file.
+ *
+ * @param s media file handle
+ * @param pkt is filled
+ * @return 0 if OK, AVERROR_xxx on error
+ */
+int ff_read_packet(AVFormatContext *s, AVPacket *pkt);
+
#endif /* AVFORMAT_INTERNAL_H */