Squashed 'captive/librtmp/csrc/src/' changes from 2ad1d5d..7340f6d

7340f6d Cleanup prev commit, drop gcrypt support
eea470f Add support for building with gnutls with nettle as backend

git-subtree-dir: captive/librtmp/csrc/src
git-subtree-split: 7340f6dbc6b3c8e552baab2e5a891c2de75cddcc
Merge commit 'bf94ce0b058dca5257e764091edc262f96ceacf4' into cross_compile
Squashed 'captive/libx264/csrc/' changes from da19765..5c85e0a

5c85e0a Fix clobbering of mutex/cvs Regression in r2183. Bizarrely seemed to work on many platforms, but crashed on win64 and may have been slower. Only affected sliced threads during encoding, but could cause crashes on x264 encoder close even without sliced threads.
c522ad1 Sliced-threads: do hpel and deblock after returning Lowers encoding latency around 14% in sliced threads mode with preset superfast. Additionally, even if there is no waiting time between frames, this improves parallelism, because hpel+deblock are done during the (singlethreaded) lookahead. For ease of debugging, dump-yuv forces all of the threads to wait and finish instead of setting b_full_recon.
6a27a48 Add full-recon API option Fully reconstruct frames even without dump-yuv.
e856755 x86inc: switch to amdnops Recent AMD CPUs' instruction decoders choke horribly on extremely long nops (i.e. with 4 prefixes). Won't affect much, since we don't use ALIGN much.
5a242c5 BMI1 decimate functions Intel was nice enough to make tzcnt equal to "rep bsf", which is backwards-compatible. This means we don't actually have to add new functions to make it work.
ac31c59 Minor asm changes
83561e5 Add row-reencoding support to VBV for improved accuracy Extremely accurate, possibly 100% so (I can't get it to fail even with difficult VBVs). Does not yet support rows split on slice boundaries (occurs often with slice-max-size/mbs). Still inaccurate with sliced threads, but better than before.
5a69f8e Abstract bitstream backup/restore functions Required for row re-encoding.
037d123 Add an small per-MB cost penalty for lowres Helps avoid VBV predictors going nuts with very low-cost MBs. One particular case this fixes is zero-cost MBs: adaptive quantization decreases the QP a lot, but (before this patch), no cost penalty gets factored in for this, because anything times zero is zero.
de5a0ad Remove explicit run calculation from coeff_level_run Not necessary with the CAVLC lookup table for zero run codes.
9f1ac3b Export PSNR/SSIM in x264 API
7e85ec0 x86inc: support yasm -f win64 Not necessary for x264, as -m amd64 already does the right thing, but used by external users of x86inc.
02c3d5e Fix incorrect zero-extension assumptions in x86_64 asm Some x264 asm assumed that the high 32 bits of registers containing "int" values would be zero. This is almost always the case, and it seems to work with gcc, but it is *not* guaranteed by the ABI. As a result, it breaks with some other compilers, like Clang, that take advantage of this in optimizations. Accordingly, fix all x86 code by using intptr_t instead of int or using movsxd where neccessary. Also add checkasm hack to detect when assembly functions incorrectly assumes that 32-bit integers are zero-extended to 64-bit.
01f7a33 Fix possible alignment crash when linking from MSVC x264_cavlc_init needs to be stack-aligned now.
b17c247 Fix rare overflow in 10-bit intra_satd_x3_16x16 asm
1446fe7 ICL: fix out of tree building and resource file usage on Windows
d3efb00 Add error handling for out-of-tree build
ec41b19 Fix RGB colorspace input BGR/BGRA input was correct.
39a4c6f Fix interlaced + extremal slice-max-size Broke if the first macroblock in the slice exceeded the set slice-max-size.
3f72c99 Fix regression in r2141 Broke register preservation in x264_cpu_cpuid and x264_cpu_xgetbv. Did not cause any problems.

git-subtree-dir: captive/libx264/csrc
git-subtree-split: 5c85e0a2b7992fcaab09418e3fcefc613cffc743
Merge commit '22c178786f819a55953b2d81abebf1b54f66e3b4' into cross_compile
Squashed 'captive/ffmpeg/csrc/' changes from a77c8ad..6f9803e

6f9803e sonic: update to new API
d9fe6b9 matroskadec: Fix null pointer exception on corrupted input.
b89f940 ass: fix DAR calculation.
4257ce1 Merge remote-tracking branch 'qatar/master'
c743aad huffyuv: some more consts
dd2631a dsputil: mark source of diff_bytes as const.
1bc85fb dirac: mark some variables const.
ae76c1a 4xm: make mcdc() src const
bf3a404 mpegvideo: fix constness error in ff_MPV_encode_picture()
add40b7 tests/rotozoom: make some things const.
702985b dxa: remove useless code
cd9a3c3 lavf: don't select an attached picture as default stream for seeking.
2514229 avconv: remove pointless checks.
ce326c1 avconv: check for get_filtered_frame() failure.
2636e69 avconv: remove a pointless check.
a04a97b Merge remote-tracking branch 'cus/stable'
45fdcc8 swscale: convert hscale() to use named arguments.
98b9da2 x86inc: add *mp named argument support to DEFINE_ARGS.
aba7a82 swscale: convert hscale to cpuflags().
67235df Merge remote-tracking branch 'qatar/master'
dbe7170 ffplay: force video refresh if the window is resized or damaged
9e2ee46 vf_fspp: add ff_ prefix to non static variables.
3bd749f docs: Add examples for -cpuflags
f43a160 cmdutils: Fix cpuflags so the flags dont pull in and out other flags.
fa35ade vf_fspp: fix compilation with llvm
bda5b66 matroskaenc: change cluster_pos to use -1 as the "I'm not currently working on a cluster" signal instead of 0.
e0febda h264: stricter reference limit enforcement.
48cbe4b h264: increase reference poc list from 16 to 32.
8602007 xa_adpcm: limit filter to prevent xa_adpcm_table[] array bounds overruns.
1f8ff2b snow: check reference frame indices.
c983795 snow: reject unsupported chroma shifts.
92a02d9 Add ffvhuff encoding and decoding regression test
5b4d026 anm: convert to bytestream2 API
f1ce053 bytestream: add more unchecked variants for bytestream2 API
a1c036e jvdec: unbreak video decoding
d3d1b25 jv demux: set video stream duration
05e0061 fate: add pam image regression test
7230116 ffmpeg: Fix planar audio input.
6968a7d Merge remote-tracking branch 'qatar/master'
c2e3b56 mmvideo: restore initial y value.
67c90d2 mmvideo: remove unused variable
bf521d5 jpeglsdec: suppress unused var warning
0fdb4df h264: Fix some mixed declarations and code.
c592679 eatgq: remove unused ret variable.
d9399c4 eamad: Remove redundant initialization of mv_map.
972880f doc/general: update supported devices table.
29e4046 doc/general: add missing @tab to codecs table.
9ff4356 g729dec: fix scalarproduct_int16 after API change
758ec11 h264: Fix invalid interlaced/progressive MB combinations for direct mode prediction.
64334dd avconv: reindent
6e8be94 avconv: link '-passlogfile' option to libx264 'stats' AVOption.
d533e39 libx264: add 'stats' private option for setting 2pass stats filename.
9d5c131 libx264: fix help text for slice-max-size option.
e05253b iff: do not decode unsupported pbms with ham decoder
499ad54 http: Clear the auth state on redirects
e75bbcf http: Retry auth if it failed due to being stale
cdf9108 rtsp: Resend new keepalive commands if they used stale auth
2f96cc1 rtsp: Retry authentication if failed due to being stale
8a3360d httpauth: Parse the stale field in digest auth
7103c83 dxva2_vc1: pass the overlap flag to the decoder
b2b0aa7 dxva2_vc1: fix decoding of BI frames
6efe180 FATE: add shorthand to wavpack test
29b0d94 dfa: convert to bytestream2 API
b25a265 Merge remote-tracking branch 'qatar/master'
2d38081 cosmetics: fix some typos
105cac3 vc1dec: Fix vc1 decoding with --disable-optimizations.
015da6e anm decoder: move buffer allocation from decode_init() to decode_frame()
3aa661e h264: improve parsing of broken AVC SPS
bd3e07c pcm-mpeg: convert to bytestream2 API
8a6037c Revert "h264: clear trailing bits in partially parsed NAL units"
363bd1c remove iwmmxt optimizations
599888a Move struc FFTContext below SECTION_RODATA
3069e70 udp: Add option overrun_nonfatal
a2eecc1 udp: remove dead code line (unused result)
b0a0e83 Revert "flvenc: Remove apparently unneeded AAC check."
33c5c3a mimic: do not continue if swap_buf_size is 0
dba425a mimic: convert to bytestream2 API
05d089a frwu: use MKTAG to check marker instead of AV_RL32
919f355 txd: port to bytestream2 API
4fe5448 lavfi/drawtext: add 24 hours wrapping option for timecode.
85aded7 c93: convert to bytestream2 API
947e103 iff: make .long_name more descriptive
5a877d9 FATE: add test for cdxl demuxer
705eeb5 rtsp: Fix a typo
88c76c7 Revert "udp: add multicast input interface selection"
0aedd8c dxva2_vc1: pass the overlap flag to the decoder
a3c5aef dxva2_vc1: fix decoding of BI frames
2367b2a libavformat.v: add ffio_set_buf_size() for ffserver.
9abd47f udp: add multicast input interface selection
3c9a86d flvenc: Remove apparently unneeded AAC check.
86b6e49 iff: check for pbm tag
1c27359 Merge remote-tracking branch 'qatar/master'
0096937 ffserver: add missing buffer set after rewrite av_open_input_file to avformat_open_input.
9fcc62e Revert "ffserver: remove unused variable."
4272dc3 doc: add vf_crop keepaspect documentation
f49cb8e vf_crop: keepaspect support
84b9b4a Fix frame height vs field height confusion in MXF decoding.
4ed0d18 FATE: add test for cdxl demuxer
599881b alsdec: Fix out of ltp_gain_values read.
daeffcc alsdec: pretty print for another log message
c95fefa dsicinvideo: validate buffer offset before copying pixels.
ad029c2 mxfdec: add timecode to metadata
97e48b2 cook: error out on quant_index values outside [-63, 63] range.
c3c2db4 Merge remote-tracking branch 'qatar/master'
6cb89df Add missing requirements to libavdevice.pc if lavfi is enabled.
d7eabd5 mpc: pad mpc_CC/SCF[] tables to allow for negative indices.
2440040 vc1: add missing entries to ff_vc1_fps_nr.
8e9a0a3 mpc7: check subband index
ecc3163 mjpegb: Detect changing nb of planes in interlaced video.
50f4f27 indeo3: Fix out of reference reading with NULL blocks.
442c3a8 cook: expand dither_tab[], and make sure indexes into it don't overflow.
71af42b xxan: reindent xan_unpack_luma().
f77bfa8 xxan: protect against chroma LUT overreads.
5518827 xxan: convert to bytestream2 API.
f1279e2 xxan: don't read before start of buffer in av_memcpy_backptr().
a928ed3 vp8: convert mbedge loopfilter x86 assembly to use named arguments.
bee330e vp8: convert inner loopfilter x86 assembly to use named arguments.
6fe8cb7 snowenc: add no_bitstream option.
c4e0d84 snowenc: mark some encode_subband arguments const.
0d2f4ee mpjpeg: video streaming will no longer break and stop on Firefox
2ff540a mxf: Add DNxHD UL
1b99971 vf_frei0r: set outlinks sample aspect ratio to 1
8fbf825 DV: Use profile[1] detection hack only for stype 0.
b52bd2a DV demuxer: Stricter check for avio_read result.
f7b57ad cook: tighten the quant_index_table range further.
8e31dbc Merge remote-tracking branch 'qatar/master'
1af9fdc snow: reject unsupported chroma shifts.
aefd1cb lavfi: remove swapuv libmpcodecs wrapper
fa35d88 lavfi: port MP swapuv filter
1a3d4b8 imgconvert: add macro pixdesc_has_alpha for checking if a pixel format has an alpha component
174678f mpegvideo_probe: Fix misdetection of mpeg4video files.
ffae713 Fix a bunch of common typos.
eab6968 build: Skip compiling xvmc.h under the correct condition.
49e35f4 configure: darwin: Change dylib install names to include major version.
ad53c7f lavf: Add system to seperate relative timestamps from absolute ones.
100c3fb mpegts: Always honor a registration descriptor if present and there is no other codec information.
744dd1d aacdec: Fix SCE parity check.
d53fe09 aacdec: Fix out of array writes (stack).
d07de6d Cosmetics: Remove superfluous newline.
6294d70 rtsp: Only set the ttl parameter if the server actually gave a value
2bfd92b udp: Set ttl for read-write streams, too, not only for write-only ones
c700fdb udp: Only bind to the multicast address if in read-only mode
1b89bcd udp: Clarify the comment about binding the multicast address
113d3e1 udp: Reorder comments
19e72e0 Fix 32bit sunrast decoding.
af55a9d iff: add support for IFF DEEP
520cf05 svq1dec: use AV_LOG_ERROR for error message
a8cedbe Merge remote-tracking branch 'qatar/master'
a452493 qpeg: remove unused var from decode_frame()
4916a8f prores_anatoliy: remove unused variable from prores_encode_frame()
f70b0ed configure: enable libutvideo is gpl warning
12c65ef oggparseogm: Fix order or arguments.
4093220 mov: Discard invalid CTTS.
ea1d64a ttadec: unbreak playback of matroska files
12623a8 vorbisdec: avoid invalid memory access
ef0d779 Fix uninitialized reads on malformed ogg files.
4ffe5e2 huffyuv: add padding to classic (v1) huffman tables.
4c25269 png: convert to bytestream2 API.
15d75da lavc/utils: fix three const warnings.
fe9818d ffplay: fix two const warnings.
b50767c vf_pad: keep a reference to the output buffer.
4ecfb91 doc/ffmpeg.texi: apply misc fixes to the -map_channel documentation
681e726 dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2
bf807a5 Merge remote-tracking branch 'qatar/master'
83f15a1 avs: fix infinite loop on end-of-stream.
4cda8aa avformat_new_stream: fix initial last_dts value
fd0be63 tiffdec: Prevent illegal memory access caused by recycled pointers.
f6daa9f mxfdec: Add intra_only flag to MXFTrack
8c7721e mxfdec: Fix Avid AirSpeed files being misinterpreted as OP1a
bf2290a8 mxfdec: Truncate packets that extend past the next edit unit
f64cfba libavutil: document av_force_cpu_flags(-1).
94f1b11 rtpenc: Fix the AVRational used for av_rescale_q_rnd
78306c5 ffmpeg: show fps more accurately when it is small.
a8cdb7b swr: special case for empty channels in rematrix.
b4bccf3 wma: fix off-by-one in array bounds check.
6eda85e sbrdsp.asm: convert all instructions to float/SSE ones.
3416d08 dv: cosmetics.
e97efec dv: check buffer size before reading profile.
6e28211 Revert "AAC SBR: group some writes."
a887c87 udp: Print an error message if bind fails
37cc860 cook: extend channel uncoupling tables so the full bit range is covered.
84a020e roqvideo: cosmetics.
cdf1577 roqvideo: convert to bytestream2 API.
93b53ff dca: don't use av_clip_uintp2().
626964a wmall: fix build with -DDEBUG enabled.
8febcb9 smc: port to bytestream2 API.
ba36f14 AAC SBR: group some writes.
7e1ce6a dsputil: remove shift parameter from scalarproduct_int16
dabf8dd SBR DSP: unroll sum_square
294c05c rv34: remove dead code in intra availability check
7104c23 rv34: clean a bit availability checks.
af49e17 v4l2: update documentation
1255eed tgq: convert to bytestream2 API.
aed9da2 parser: remove forward declaration of MpegEncContext
e6ffd99 dca: prevent accessing static arrays with invalid indexes.
cc5dd63 raw: move buffer size check up.
f1320dc lpcm: fix sample size calculation for 20bit LCPM.
9487fb4 swscale: clip unscaled output intermediates.
a93b572 smacker: error out if palette copy-with-offset overruns palette size.
a55d5bd algmm: convert to bytestream2 API.
1ea3b65 vf_yadif: accept input with several frames available.
c088b7f ass_split: accept files with only \n and no \r.
e5dd4ae assdec: avoid a possible NULL dereference.
8ca6e52 wma: Refactor common code to fix standalone compilation of WMA lossless decoder.
3c71538 vc1: Move init code shared between decoder and parser to common code file.
1e9d55e x86: Remove duplicated AVG_3DNOW_OP / AVG_MMX2_OP macros from h264_qpel_mmx.c.
1eabd71 ffv1: PIX_FMT_YUV444P10 support
65491fa ffv1: PIX_FMT_YUV444P9 & PIX_FMT_YUV422P9 support
eff2399 Revert "error_resilience: initialize s->block_index[]."
6df42f9 Merge remote-tracking branch 'qatar/master'
57986c5 lavc/utils: fix const correctness of AVClass cast
1134479 lavc/utils: remove unused variable from avcodec_encode_video2.
7d75feb mjpegenc: Fix const correctness and avoid writes into AVFrame of amv_encode_picture()
5e6514e h264 Fix: "warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers"
902bdf7 h264: fix warning about "uint8_t *p" and const
3a58360 cook: silence some signed overflow warnings.
a294a7a mov: Allow last chunk to have an arbitrary number of samples.
4707f1d swscale: remove duplicate PIX_FMT_GBRP entry from format_entries.
776c89f vsrx_mptestsrc: remove duplicate config_props init.
b516190 SBR DSP: fix SSE code to not use SSE2 instructions.
a9c5b6f cpu: initialize mask to -1, so that by default, optimizations are used.
a8d67ef aacdec: Fix out of array writes (stack).
b521f11 Fix bink decoder for files with 24px width.
6193ff6 error_resilience: initialize s->block_index[].
11b940a svq3: protect against negative quantizers.
c23acba Don't use ff_cropTbl[] for IDCT.
2254b55 swscale: make filterPos 32bit.
0f13cc7 diracdec: Correct the bytestream end pointer.
018f39e FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.
4138cd2 avconv: add -cpuflags option for setting supported cpuflags.
4d851f8 cpu: add av_set_cpu_flags_mask().
338978a libx264: Allow overriding the sliced threads option
39da3b2 avconv: fix counting encoded video size.
f095391 Merge remote-tracking branch 'qatar/master'
632eb1b cdxl demux: do not create packets with uninitialized data at EOF.
01606d1 libutvideo: Add Ut Video encoder wrapper
d6e4e69 libutvideo: Move structs and includes to header
3574a85 Replace computations of remaining bits with calls to get_bits_left().
b70feb4 amrnb/amrwb: Remove get_bits usage.
1879400 Remove AV_LOG_DEBUG from av_dlog() calls.
94cf64b cosmetics: reindent
8c1d6ac avformat: do not require a pixel/sample format if there is no decoder
a7fa756 avformat: do not fill-in audio packet duration in compute_pkt_fields()
6c65cf5 lavf: Use av_get_audio_frame_duration() in get_audio_frame_size()
11ac796 dca_parser: parse the sample rate and frame durations
85469f1 libspeexdec: do not set AVCodecContext.frame_size
adbf61f libopencore-amr: do not set AVCodecContext.frame_size
0efa407 alsdec: do not set AVCodecContext.frame_size
f1e7310 siff: do not set AVCodecContext.frame_size
ec2e767 amr demuxer: do not set AVCodecContext.frame_size.
8d1a20a aiffdec: do not set AVCodecContext.frame_size
237a855 mov: do not set AVCodecContext.frame_size
9727264 ape: do not set AVCodecContext.frame_size.
2dd18d4 rdt: remove workaround for infinite loop with aac
9c365fe avformat: do not require frame_size in avformat_find_stream_info() for CELT
fbc8c59 avformat: do not require frame_size in avformat_find_stream_info() for MP1/2/3
84b6ae0 avformat: do not require frame_size in avformat_find_stream_info() for AAC
620b88a swfenc: use av_get_audio_frame_duration() instead of AVCodecContext.frame_size
14aecc5 rtpenc: use av_get_audio_frame_duration() for max_frames_per_packet
c019070 riffenc: use av_get_audio_frame_duration()
9524cf7 avcodec: add av_get_audio_frame_duration() function.
6699d07 avcodec: add av_get_exact_bits_per_sample() function
2e06113 matroska : Add support for reading/writing creation_time metadata.
c704803 cook: fix return statements.
0a7bf34 wmaenc: change some asserts to av_assert0.
0d92e5a wmaenc: add assert to check encode_superframe() return.
c99bd29 Revert "wmaenc: check final frame size against output packet size"
27c7ca9 lavf: deobfuscate read_frame_internal().
dcee811 lavf: make read_from_packet_buffer() more flexible.
52b0943 lavf: factorize freeing a packet buffer.
c9dbac3 Fix format string vulnerability detected by -Wformat-security.
0a41f47 dv: Do not redundantly initialize struct members to zero.
456d65a alsa: fix timefilter usage.
9bbe6ed timefilter: allow variable periods.
3073aad timefilter: internally compute feedback factors.
356ee8d x86: clean up ff_dsputil_init_mmx()
1007a80 smc: Fix overread.
263bb6e bit_depth_template: use av_clip_uint8 over crop_tab.
e75518e indeo3: move MV check up.
ccb76ad cook: check decouple values.
2af8f2c Merge remote-tracking branch 'qatar/master'
33a183d indeo3: Fix overreading requant_tab.
56ffa3f indeo3: Check motion vectors.
3faa141 cmdutils: use new avcodec_is_decoder/encoder() functions.
44fe77b lavc: make codec_is_decoder/encoder() public.
02beb98 lavc: deprecate AVCodecContext.sub_id.
87392b1 libcdio: add a forgotten AVClass to the private context.
14aa1ba libmpcodecs/vf_pp: import memleak fix from MPlayer.
7f06ca6 vf_mp: uninit filter chain.
d8d1fbb dsicinav: fix 10l bug introduced in 999d38f3a94eb963c073512e5dad7940456eb634
5280702 pcm-mpeg: fix 10l condition flip
1c97b5c swscale: remove "cpu flags" from -sws_flags description.
4a9f466 Fix alpha overflow when converting from RGBA64 to RGBA.
409a3bd lavfi: add blackdetect filter
37fca5d mmvideo: fix overreads of the input buffer.
999d38f dsicinvideo: validate buffer offset before copying pixels.
4db4b53 proresenc: give user a possibility to alter some encoding parameters
1ba08c9 vorbisenc: add output buffer overwrite protection
fe78470 libopencore-amrnbenc: fix end-of-stream handling
b0350c1 ra144enc: fix end-of-stream handling
29e2c85 nellymoserenc: zero any leftover packet bytes
6c7a016 nellymoserenc: use proper MDCT overlap delay
2b69354 truemotion2: check motion vectors for validity
39a3a53 pngdec: validate length.
3e9cd8b qpeg: Use bytestream2 functions to prevent buffer overreads.
dccb2cd swscale: make %rep unconditional.
b4188f0 vp8: convert simple loopfilter x86 assembly to use named arguments.
8476ca3 vp8: convert idct x86 assembly to use named arguments.
21ffc78 vp8: convert mc x86 assembly to use named arguments.
28170f1 vp8: convert loopfilter x86 assembly to use cpuflags().
e25be47 vp8: convert idct/mc x86 assembly to use cpuflags().
8249a23 swscale: remove now unnecessary hack.
0f53d0c x86inc: don't "bake" stack_offset in named arguments.
337fa0d lavf: Do not compute the packet duration based on the bitrate if the frame_size can be determined.
b8afbbc lavf: factor out determinable_frame_size()
15c6be8 Merge remote-tracking branch 'qatar/master'
6aa6e3e fate: Add sunrast regression test
f972193 Support RGBA64 as input colour space.
51ddf35 wmaenc: fix m/s stereo encoding for the first frame
d33a091 ffm options should also set discard automatically.
8ed7488 wmaenc: return s->block_align instead of recalculating it
5d652e0 wmaenc: check final frame size against output packet size
dfc4fde wmaenc: require a large enough output buffer to prevent overwrites
1ec075c wmaenc: limit allowed sample rate to 48kHz
c2b8dea wmaenc: limit block_align to MAX_CODED_SUPERFRAME_SIZE
8f1bb3d wc4: fix out of chroma LUT reads
cd0cfdc pcm-mpeg: Check for valid bps.
b7beaba tiertexseq: set correct block_align for audio
f9cf91d tiertexseq: set audio stream start time to 0
0883109 voc/avs: Do not change the sample rate mid-stream.
4da374f segafilm: use the sample rate as the time base for audio streams
ea28918 ea: fix audio pts
01be6fa psx-str: fix audio pts
d0ab585 vqf: set packet duration
101c369 tta demuxer: set packet duration
0b8b7db mpegaudio_parser: do not ignore information from the first parsed frame
6776a8f mpegaudio_parser: be less picky about the start position
5a9b952 thp: set audio packet durations
5602a46 avcodec: add a Vorbis parser to get packet duration
737ca44 vorbisdec: read the previous window flag for long windows
f83687b mpegts: fix stack array overread in read_sl_header()
4a310a1 mpegts: prevent get_bits64() from reading nonsense at the end.
d629f3e cook: check that category is smaller than 8
e732d0f mpeg-ts: fix handling of size=0 SL headers.
c6810d9 MAINTAINERS: add 0.10 to the releases, seems ive forgotten it.
b2792a4 lavc: unify similar code merged from both branches.
07fb768 vsrc_testsrc: free option values.
eb6b6d7 vsrc_life: free option values.
f8210f8 vf_fade: free type when overwriting it.
7fb6c92 lavc: free the output packet when encoding failed or produced no output.
e42e9b0 lavc: preserve avpkt->destruct in ff_alloc_packet().
c179c9e lavc: clarify the meaning of AVCodecContext.frame_number.
c266eb1 arm: Fix 10l typo
23a5bf9 bluray protocol
70b5583 kvmc: Fix out of reference frame reads.
81d4b3a qpeg: fix overreads.
4299dfa qpeg: Fix out of array writes.
aaa1173 srtdec: fix a format string vulnerability.
e42b536 Remove duplicate initializers for VDA_VLD and GBR24P.
1aa7089 mpegts: Pad the packet buffer in handle_packet().
4df3696 mpegts: Do not call read_sl_header() when no bytes remain in the buffer.
268098d Merge remote-tracking branch 'qatar/master'
689f651 simple_idct: idct_4col_put: Fix out of array reads.
422e3a7 rawdec: fix input overread.
9d87374 amrwb: remove duplicate arguments from extrapolate_isf().
e7b43e8 truemotion1: Check input buffer size against header size.
a3f5ee2 mjpeg: Check for interlaced progressive frames
0af48e2 snow: check reference frame indices.
154b8bb amrwb: error out early if mode is invalid.
291c9b6 h264: change underread for 10bit QPEL to overread.
9c239f6 matroska: check buffer size for RM-style byte reordering.
4554933 vp8: disable mmx functions with sse/sse2 counterparts on x86-64.
bd66f07 vp8: change int stride to ptrdiff_t stride.
349b797 wma: fix invalid buffer size assumptions causing random overreads.
9d25f1f Windows Media Audio Lossless decoder
8fdd93e huffyuv: pad classic huffman tables so as to avoid bitreader overread.
64c58f1 vc1: mquant is not allowed to be 0
9243ec4 rv10/20: Fix slice overflow with checked bitstream reader.
71db86d h263dec: Disallow width/height changing with frame threads.
2f65285 rv10/20: Fix a buffer overread caused by losing track of the remaining buffer size.
1697c29 rmdec: Honor .RMF tag size rather than assuming 18.
b087ce2 g722: Fix the QMF scaling
56bf24a r3d: don't set codec timebase.
e93d911 h263: fix zygo debug printing overreading.
d964db5 wmadec: fix off by 1 error on the pow_tab index check.
a5bf9b3 timefilter: better selftest code.
ec3cd74 h261: check mtype.
efec3bc electronicarts: set timebase for tgv video.
e39400c electronicarts: parse the framerate for cmv video.
1bb3990 ogg: don't set codec timebase
1d3144c electronicarts: don't set codec timebase
10a6e0c avs: don't set codec timebase
f604eab wavpack: Fix an integer overflow
0b90db0 lavf: fix update_initial_durations() so it handles missing durations with the initial timestamp being known.
83c418e wavpack: Fix an integer overflow
d91912e fate: Add sunrast regression test
7a7b1f5 roqvideodec: improve end of input buffer check
36697be swscale: K&R formatting cosmetics for PowerPC code (part II/II)
c05e2be mp3dec: Fix reading file size and frames in VBRI headers
1eb7f39 Merge remote-tracking branch 'qatar/master'
1c4717b mjpegdec: use correct variable in av_log invocation
75c553e rmdec: adjust printf format string specifier to fix warning
324deaa Replace AVFrame pointer type punning by proper struct member assignments.
47c0ac9 Replace AVFrame pointer casts by proper struct member accesses.
562b6c7 Remove unnecessary AVFrame pointer casts.
2f4b476 msmpeg4: Split encoding backend code off from general backend code.
eb72738 lavc: shrink encoded video packet size after encoding.
75d11b5 vc1: avoid reading beyond the last line in vc1_draw_sprites()
0ce4fe4 h264: error out on invalid bitdepth.
cc412b7 aacsbr: use a swap index for the Y matrix rather than copy buffers.
dc945b1 eatgq: Pass error code from tgq_decode_mb() and let the caller fail.
32f0c65 vc1: fix out of array reads in vc1_inv_trans_4x4_c()
80c702e vc1: fix out of array reads in vc1_inv_trans_4x8_c()
af796ba vc1: fix out of array reads in vc1_inv_trans_8x4_c()
63c9de6 huffyuv: do not abort on unknown pix_fmt; instead, return an error.
b2a7c01 mpc: Fix mpc_CC table and use.
b84211a mpc: Fix mpc_SCF use and content.
bd17a40 lcl: return negative error codes on decode_init() errors.
984b914 rtpenc: Use MB info side data for splitting H263 packets for RFC 2190
bdc1220 h263enc: Add an option for outputting info about MBs as side data
442c132 avpacket: Add a function for shrinking already allocated side data
fd88a25 rv34dsp: avoid use of crop table for idct.
8263212 mpegaudiodec: Enable checked bitstream reader.
a057ef6 mpegaudiodec: change granule skip code to avoid false checked bitstream reader errors.
436f866 svq3dec: fix overread of the cliping table.
d2101bf eval: fix infinite loop on opensolaris x86.
79ae084 Merge remote-tracking branch 'qatar/master'
5cd1337 nellymoserdec: Saner and faster IMDCT windowing
882abda amrnbdec: check frame size before decoding.
8a9faf3 cscd: use negative error values to indicate decode_init() failures.
d1604b3 h264: prevent overreads in intra PCM decoding.
f240df6 FATE: do not decode audio in the nuv test.
929dd8c dxa: set audio stream time base using the sample rate
aa831c4 psx-str: do not allow seeking by bytes
bdbf1fa asfdec: Do not set AVCodecContext.frame_size
4bf6775 vqf: set packet parameters after av_new_packet()
9b4cd58 mpegaudiodec: use DSPUtil.butterflies_float().
841c171 FATE: add mp3 test for sample that exhibited false overreads
31b132c fate: add cdxl test for bit line plane arrangement
07a1809 vmnc: return error on decode_init() failure.
a45a1ea libvorbis: add/update error messages
592c4db libvorbis: use AVFifoBuffer for output packet buffer
1fe7c1b libvorbis: remove unneeded e_o_s check
94025d8 libvorbis: check return values for functions that can return errors
c5063e0 libvorbis: use float input instead of s16
f15c428 libvorbis: do not flush libvorbis analysis if dsp state was not initialized
147ff24 libvorbis: use VBR by default, with default quality of 3
182d4f1 libvorbis: fix use of minrate/maxrate AVOptions
eb35ef2 libvorbis: cosmetics: renaming/pretty-printing/comments/unused code
4e99501 (e)ac3enc: select a default bit rate based on the channel layout
6aeea1d ac3enc: choose the closest bit rate to the one requested instead of failing
78e9852 rpza: error out on buffer overreads.
e54ae60 qtrle: return error on decode_init() failure.
791de61 swscale: fix another integer overflow.
85b221e dpxenc: Don't include the libavcodec ident if bitexact mode is enabled
07ec1f2 rtpenc: Fix setting the max packet size
3225374 Add a minor bump, changelog/APIchanges entry and some documentation for APIC support.
2dfea12 mp3enc: write attached pictures (APIC).
c68148b mp3enc: move mp3_write_xing() further up in the file.
ba445f5 id3v2enc: add a function for writing attached pictures.
24fe1a3 id3v2enc: fix writing frame sizes for ID3v2.3
411225a id3v2enc: split ff_id3v2_write().
c199817 id3v2enc: make id3v2_put_size take only an AVIOContext.
393fd0d id3v2: remove unused ff_id3v2_read().
079ea6c lavf: export id3v2 attached pictures as streams.
dd2a4bc lavf: generic code for exporting attached pictures.
a93b09c id3v2: read attached pictures and export them in ID3v2ExtraMeta.
b73ad74 lavf: move CodecMime from matroska.h to internal.h
eaea76d swfdec: do not set codec timebase.
12b812d prores: store and retrieve extended colourspace information
c708418 proresenc: correct edge emulation
235d693 prores: handle 444 chroma in right order
23bfcc0 mpegvideo_enc: add quantizer_noise_shaping private option.
16b7557 lavc: deprecate AVCodecContext.inter_threshold.
4f07f81 lavc: deprecate AVCodecContext.color_table_id.
e0f6841 avplay: remove an unused variable.
63efd83 mpegvideo_enc: add chroma/luma_elim_threshold private options.
af3d804 mpegvideo_enc: add cbp_rd flag to mpv_flags.
ff71a38 mpegvideo_enc: add qp_rd flag to mpv_flags.
a249f0c mpegvideo_enc: add strict_gop flag to mpv_flags.
ed019b8 lavc: add -mpv_flags to mpegvideo_enc-based encoders.
956fb91 aacdec: Support stereo streams that erroneously signal predefined channel configuration 1 (mono).
2564f6e aacdec: Reshuffle functions so get_che() can call set_default_channel_config() and output_configure().
8bc396f vp56: error out on invalid stream dimensions.
bb6d541 asf: don't seek back on EOF.
6e57a02 asf: error out on ridiculously large minpktsize values.

git-subtree-dir: captive/ffmpeg/csrc
git-subtree-split: 6f9803e5e02c557e1003cface9f3084a7e1e43e4
Merge commit '4a7641011f60eeb963b8a57b8c516e6c6c587507' into cross_compile