summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-10-25 15:13:47 +0100
committerAnton Khirnov <anton@khirnov.net>2020-10-28 13:57:38 +0100
commitc515a35dde777a02096faf94555b2f81e98fa3ac (patch)
treecb82cfc2ae46a20bff620f1b578cce64c237d242 /libavformat/avformat.h
parent04385218885935df99ec9f98ab73bb461775d28b (diff)
avformat: fix typo in doxy
av_read_frame() reads new packets, av_read_packet() does not exist.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index acfe25239d..2c54177591 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -356,7 +356,7 @@ struct AVDeviceCapabilitiesQuery;
* sorting will have '-sort' appended. E.g. artist="The Beatles",
* artist-sort="Beatles, The".
* - Some protocols and demuxers support metadata updates. After a successful
- * call to av_read_packet(), AVFormatContext.event_flags or AVStream.event_flags
+ * call to av_read_frame(), AVFormatContext.event_flags or AVStream.event_flags
* will be updated to indicate if metadata changed. In order to detect metadata
* changes on a stream, you need to loop through all streams in the AVFormatContext
* and check their individual event_flags.