summaryrefslogtreecommitdiffstats
path: root/demux/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'demux/packet.h')
-rw-r--r--demux/packet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/demux/packet.h b/demux/packet.h
index 93a7f49cc9..f551e0c7f5 100644
--- a/demux/packet.h
+++ b/demux/packet.h
@@ -46,9 +46,12 @@ typedef struct demux_packet {
double kf_seek_pts; // demux.c internal: seek pts for keyframe range
} demux_packet_t;
+struct AVBufferRef;
+
struct demux_packet *new_demux_packet(size_t len);
struct demux_packet *new_demux_packet_from_avpacket(struct AVPacket *avpkt);
struct demux_packet *new_demux_packet_from(void *data, size_t len);
+struct demux_packet *new_demux_packet_from_buf(struct AVBufferRef *buf);
void demux_packet_shorten(struct demux_packet *dp, size_t len);
void free_demux_packet(struct demux_packet *dp);
struct demux_packet *demux_copy_packet(struct demux_packet *dp);