X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favformat.h;h=e2a27d437b6751e5b161f5700193a364adf34515;hb=3b03bde46e331aa301bd16c6c6e94c11e073e8f8;hp=b7f18c16143cf77a994a4df4e995f1e75b53e664;hpb=67d81b76b6e8571dae79c0a2a69e1bb1c24aa80b;p=ffmpeg diff --git a/libavformat/avformat.h b/libavformat/avformat.h index b7f18c16143..e2a27d437b6 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1358,7 +1358,7 @@ typedef struct AVFormatContext { * available. Never set it directly if the file_size and the * duration are known as FFmpeg can compute it automatically. */ - int bit_rate; + int64_t bit_rate; unsigned int packet_size; int max_delay; @@ -1391,18 +1391,20 @@ typedef struct AVFormatContext { #define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000 ///< Don't merge side data but keep it separate. #define AVFMT_FLAG_FAST_SEEK 0x80000 ///< Enable fast, but inaccurate seeks for some formats -#if FF_API_PROBESIZE_32 /** - * @deprecated deprecated in favor of probesize2 + * Maximum size of the data read from input for determining + * the input container format. + * Demuxing only, set by the caller before avformat_open_input(). */ - unsigned int probesize; + int64_t probesize; /** - * @deprecated deprecated in favor of max_analyze_duration2 + * Maximum duration (in AV_TIME_BASE units) of the data read + * from input in avformat_find_stream_info(). + * Demuxing only, set by the caller before avformat_find_stream_info(). + * Can be set to 0 to let avformat choose using a heuristic. */ - attribute_deprecated - int max_analyze_duration; -#endif + int64_t max_analyze_duration; const uint8_t *key; int keylen; @@ -1748,31 +1750,6 @@ typedef struct AVFormatContext { */ int64_t output_ts_offset; - /** - * Maximum duration (in AV_TIME_BASE units) of the data read - * from input in avformat_find_stream_info(). - * Demuxing only, set by the caller before avformat_find_stream_info() - * via AVOptions (NO direct access). - * Can be set to 0 to let avformat choose using a heuristic. - */ -#if FF_API_PROBESIZE_32 - int64_t max_analyze_duration2; -#else - int64_t max_analyze_duration; -#endif - - /** - * Maximum size of the data read from input for determining - * the input container format. - * Demuxing only, set by the caller before avformat_open_input() - * via AVOptions (NO direct access). - */ -#if FF_API_PROBESIZE_32 - int64_t probesize2; -#else - int64_t probesize; -#endif - /** * dump format separator. * can be ", " or "\n " or anything else