]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avformat.h
lavf/img2dec: Reduce the probe score for incomplete jpgs.
[ffmpeg] / libavformat / avformat.h
index af257e43c4e5cd88152282f1d33d630153c5f055..ebb0e05c04282bc72d2d5b208fcbd66d1703a441 100644 (file)
@@ -930,6 +930,9 @@ typedef struct AVStream {
      * Decoding: duration of the stream, in stream time base.
      * If a source file does not specify a duration, but does specify
      * a bitrate, this value will be estimated from bitrate and file size.
+     *
+     * Encoding: May be set by the caller before avformat_write_header() to
+     * provide a hint to the muxer about the estimated duration.
      */
     int64_t duration;