lavf: Switch probesize and max_analyze_duration to 64bit.

Both are only accessible through AVOptions.
This commit is contained in:
Carl Eugen Hoyos
2015-09-15 17:36:38 +02:00
parent c311713ca9
commit b290972b8f
6 changed files with 13 additions and 12 deletions

View File

@@ -3085,14 +3085,14 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
// new streams might appear, no options for those
int orig_nb_streams = ic->nb_streams;
int flush_codecs;
#if FF_API_PROBESIZE_32
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
int64_t max_analyze_duration = ic->max_analyze_duration2;
#else
int64_t max_analyze_duration = ic->max_analyze_duration;
#endif
int64_t max_stream_analyze_duration;
int64_t max_subtitle_analyze_duration;
#if FF_API_PROBESIZE_32
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
int64_t probesize = ic->probesize2;
#else
int64_t probesize = ic->probesize;