summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-08-17 12:03:50 -0300
committerJames Almer <jamrial@gmail.com>2020-09-15 09:53:39 -0300
commit8a81820624ada4d339aeb2150ad5c2b36b12860c (patch)
treee282bffaec65e0cd54c523b5e88610ad4f901b5f /libavformat/avformat.h
parentfda5363c80bd09066d69fb9bd365c9114b8d08f3 (diff)
avcodec/packet: move AVPacketList definition and function helpers over from libavformat
And replace the flags parameter with a function callback that can be used to copy the contents of the packet (e.g, av_packet_ref and av_packet_copy_props). Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index e91e7f1d33..c8c0b6c08d 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -2007,12 +2007,6 @@ void av_format_inject_global_side_data(AVFormatContext *s);
*/
enum AVDurationEstimationMethod av_fmt_ctx_get_duration_estimation_method(const AVFormatContext* ctx);
-typedef struct AVPacketList {
- AVPacket pkt;
- struct AVPacketList *next;
-} AVPacketList;
-
-
/**
* @defgroup lavf_core Core functions
* @ingroup libavf