avutil: fix compilation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/atomic: use av_assert0()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mips: fix for mips optimized fp fft with hard coded tables disabled

Floating point FFT (nips optimized) breaks when hard coded tables are
not enabled because MIPS optimization of floating point FFT uses only
ff_init_ff_cos_tabs(16) which is not enabled by default in that case.

This patch is fixing it.

Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavu/frame: use channels rather than channel_layout.
  lavf: avformat_seek_file(): validate stream_index.
  lavf/concatdec: fix possible leak in case of malloc failure.
  lavfi/buffersink: check av_frame_ref() failure.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
fate: add tests for h264 decoder reinit
av_find_stream_info: change read_size to 64bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat: Fix infinite probing that reads the whole file

Fixes: otonajoshi_avformat_tries_to_load_whole.ts
Reported-by: JEEB (on IRC)
Thanks-to: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf/concatdec: support seeking.
lavfi/concat: fix silence duration computation.

Inside send_silence(), delta_ts was used inconsistently:
sometimes as the new value, sometimes as the old value.

Consistently use it as the new value, and add an argument
to know the last segment duration.
lavu/opt: add AV_OPT_TYPE_DURATION.
lavfi: add sine audio source.
ffmpeg: fix freeing of sub2video frame.
lavf/vobsub: free index pseudo-packet.
lavfi: add common code to handle options parsing.
lavfi/avf_concat: use standard options parsing.
lavfi/vf_tile: use standard options parsing.
lavfi/af_volume: use standard options parsing.
lavfi/vf_crop: use standard options parsing.
lavfi/vf_decimate: use standard options parsing.
lavfi/vf_delogo: use standard options parsing.