#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
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to