]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/internal.h
Merge commit 'e1eb0fc960163402bbb4e630185790488f7d28ed'
[ffmpeg] / libavformat / internal.h
index 99015271b6afc83b452ab4bd81f14037b8e5a7fd..6b7f677950136499e8608806d41dc6cbe66b320c 100644 (file)
@@ -620,4 +620,14 @@ int ff_get_packet_palette(AVFormatContext *s, AVPacket *pkt, int ret, uint32_t *
  */
 int ff_bprint_to_codecpar_extradata(AVCodecParameters *par, struct AVBPrint *buf);
 
+/**
+ * Find the next packet in the interleaving queue for the given stream.
+ * The packet is not removed from the interleaving queue, but only
+ * a pointer to it is returned.
+ *
+ * @return a pointer to the next packet, or NULL if no packet is queued
+ *         for this stream.
+ */
+const AVPacket *ff_interleaved_peek(AVFormatContext *s, int stream);
+
 #endif /* AVFORMAT_INTERNAL_H */