diff options
author | wm4 <wm4@nowhere> | 2015-09-29 18:43:28 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-29 18:43:28 +0200 |
commit | b4491c00c4b514e925b6bbf501e26de801f28a39 (patch) | |
tree | 9659ab40a27704295ed377f14e2d904df47f70d9 /TOOLS/old-configure | |
parent | 12cd48a8a9be94612a6645f27fc971d0aac985ff (diff) |
Take care of libavcodec convergence_duration deprecation
This AVPacket field was a hack against the fact that the duration field
was merely an int (too small for things like subtitle durations). Newer
libavcodec drops this field and makes duration 64 bit.
Diffstat (limited to 'TOOLS/old-configure')
-rwxr-xr-x | TOOLS/old-configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/TOOLS/old-configure b/TOOLS/old-configure index f8f432824e..9d8bd2f8f9 100755 --- a/TOOLS/old-configure +++ b/TOOLS/old-configure @@ -816,6 +816,12 @@ api_statement_check \ libavutil/pixdesc.h \ 'AVComponentDescriptor d; int x = d.depth' +api_statement_check \ + "libavcodec 64 bit AVPacket.duration" \ + HAVE_AV_AVPACKET_INT64_DURATION \ + libavcodec/avcodec.h \ + 'int x[(int)sizeof(((AVPacket){0}).duration) - 7]' + check_pkg_config "libavfilter" $_libavfilter LIBAVFILTER 'libavfilter >= 5.0.0' check_pkg_config "libavdevice" $_libavdevice LIBAVDEVICE 'libavdevice >= 55.0.0' |