]> git.sesse.net Git - ffmpeg/commitdiff
avformat: fix typo in doxy
authorAnton Khirnov <anton@khirnov.net>
Sun, 25 Oct 2020 14:13:47 +0000 (15:13 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 28 Oct 2020 12:57:38 +0000 (13:57 +0100)
av_read_frame() reads new packets, av_read_packet() does not exist.

libavformat/avformat.h

index acfe25239d34a2fa81692ce445ce522d08caec3f..2c54177591c75bbfe06c3d0da4248005a3d24d8d 100644 (file)
@@ -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.