[FFmpeg-trac] #9519(documentation:closed): Inconsistent Documentation for avformat_new_stream
FFmpeg
trac at avcodec.org
Sat Nov 20 09:33:08 EET 2021
#9519: Inconsistent Documentation for avformat_new_stream
-------------------------------------+-------------------------------------
Reporter: Philip Mann | Owner: (none)
Type: defect | Status: closed
Priority: minor | Component:
| documentation
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by mkver):
* status: new => closed
* resolution: => invalid
Comment:
There is no mistake in the documentation cited by you:
avformat_new_stream() just uses this AVCodec to initialize the (now
removed) public AVCodecContext
[https://github.com/FFmpeg/FFmpeg/blob/release/4.1/libavformat/utils.c#L4496
here].
And your second quote does not apply to avformat_new_stream() at all, but
rather says what the user should do after having called
avformat_new_stream(). It also deals with AVCodecParameters and not with
an AVCodecContext at all.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9519#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list