Merge commit 'bb7701684c7170dfd5f33a3c7d827265844619f2'

* commit 'bb7701684c7170dfd5f33a3c7d827265844619f2':
  lavf: Document the codec context initialization

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-17 21:26:00 +01:00
commit 563ed912ea

View File

@ -198,6 +198,10 @@
* be set to the timebase that the caller desires to use for this stream (note * be set to the timebase that the caller desires to use for this stream (note
* that the timebase actually used by the muxer can be different, as will be * that the timebase actually used by the muxer can be different, as will be
* described later). * described later).
* - It is advised to manually initialize only the relevant fields in
* AVCodecContext, rather than using @ref avcodec_copy_context() during
* remuxing: there is no guarantee that the codec context values remain valid
* for both input and output format contexts.
* - The caller may fill in additional information, such as @ref * - The caller may fill in additional information, such as @ref
* AVFormatContext.metadata "global" or @ref AVStream.metadata "per-stream" * AVFormatContext.metadata "global" or @ref AVStream.metadata "per-stream"
* metadata, @ref AVFormatContext.chapters "chapters", @ref * metadata, @ref AVFormatContext.chapters "chapters", @ref