lavfi: silence a discarded const qualifier warning.
vc1dec: silence "may be used uninitialized in this function" warning from gcc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libvpxenc: Fix "passing argument 3 of av_image_copy from incompatible pointer type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavc/vc1dec: fix a few "may be used uninitialized" warnings.
lavfi/idet: fix chroma subsampling with odd sizes.
lavfi/yadif: fix chroma subsampling with odd sizes.
lavf/img2enc: use FF_CEIL_RSHIFT().
vc1dec: Add support for interlaced B-frames

Signed-off-by: Martin Storsjö <martin@martin.st>
movenc: Don't add base_data_offset in tfhd for PIFF files

According to the PIFF specification[1] the base_data_offset field MUST be
omitteed. See section 5.2.17. Since the ISMV files created by libavformat
state that they are 'piff' compatible via 'ftyp' box, this needs to be
corrected.

[1] http://www.iis.net/learn/media/smooth-streaming/protected-interoperable-file-format

Signed-off-by: Martin Storsjö <martin@martin.st>
avcodec/pthread: fix ffv1 with 2 threads

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/ffhash: Use O_BINARY when available

This fixes reading files in Windows

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavfi: factorize drawgrid and drawbox code
lavfi/drawbox: restore verbal form for drawbox options descriptions
configure: Autodetect VA-API

This fixes a regression (reproducible since 1.2) and restores the
behaviour of 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 1.0 and 1.1.
Apple Intermediate Codec decoder
vf_lut: make config_props work properly when called multiple times.

Do not leak the expressions.
vf_gradfun: make config_props work properly when called multiple times.
vf_frei0r: make config_props work properly when called multiple times.

Do not leak the initialized filter instance.
vf_fps: move initializing pts from config_props to init.

It should not be reinitialized if the link properties change.
vf_drawtext: do not reset the frame number in config_input.

Frame number should be incremented normally even if the link properties
change.