lavc: check decoded subtitles encoding.

Address trac ticket #2431.
lavfi: add timeline support in {de,remove}logo.

Both don't change anything in the context between frames.
vc1dec: redesign the intensity compensation

The existing implementation had little to do with VC1.
This could be implemented by adjusting the reference frames
ithemselfs but that would make frame multi-threading difficult.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vc1dec: Implement intensity compensation for vc1_interp_mc()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vc1: use use_ic instead of shuffling mv_mode around

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vc1dec: drop old use_ic code from vc1_b_mc

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

* cigaes/master:
  lavc: check decoded subtitles encoding.
  lavu: fix GET_UTF8 macro.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
lavfi/subtitles: zero-init AVSubtitle.

This avoids invalid free when the stream id doesn't match the packet
stream index.

Ticket #2501
lavc: remove unused put_bits.h headers

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Merge commit 'fc18cc44ebfae07da153dc782572e7ce2f6fe47d'

* commit 'fc18cc44ebfae07da153dc782572e7ce2f6fe47d':
  fate: add CVFC1_Sony_C to h264 conformance tests
  doc/APIchanges: add missing hashes and dates

Conflicts:
	doc/APIchanges
	tests/fate/h264.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
lavf: introduce AVFMT_TS_NEGATIVE

Most formats do not support negative timestamps, shift them to avoid
unexpected behaviour and a number of bad crashes.

CC:libav-stable@libav.org

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
doc: remove all-components.texi, include its content verbatim

Force re-generation of the manuals when an included file is modified.
The current dependency generation system is enable to track nested
inclusions.

The drawback is that the files will be generated even when there is no
strict need (for example if filters.texi is modified, ffmpeg.1 is
rebuilt), thus it trades a false negative with a false positive.
doc/filters: remove "q" constant docs for noise mode

It was removed in 62447248f3e5eb95dbd9f123696321903d4d0921.
doc/filters: put vidstab filters documentation in a sensible order
vc1dec: drop mv_f_last, simplify code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/pthread: Make sure ff_thread_finish_setup() conditions match

Prevents warning from being shown due to multiple calls.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/pthread: use THREAD_SAFE_CALLBACKS() to simplifx more code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
dcaenc: update

Long story short: previous code was useless and was port of older
dcaenc, this commit just "sync" with current dcaenc, hopefuly
making this encoder more useful.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
lavfi/telecine: show time base change too

Signed-off-by: Paul B Mahol <onemda@gmail.com>
lavfi/noise: add missing emms_c()

Signed-off-by: Paul B Mahol <onemda@gmail.com>