[FFmpeg-cvslog] avformat: fix typo in doxy

Anton Khirnov git at videolan.org
Wed Oct 28 15:26:34 EET 2020


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Oct 25 15:13:47 2020 +0100| [c515a35dde777a02096faf94555b2f81e98fa3ac] | committer: Anton Khirnov

avformat: fix typo in doxy

av_read_frame() reads new packets, av_read_packet() does not exist.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c515a35dde777a02096faf94555b2f81e98fa3ac
---

 libavformat/avformat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.



More information about the ffmpeg-cvslog mailing list