kgv1: use the AVFrame API properly.
mmvideo: use the AVFrame API properly.
smacker: use the AVFrame API properly.
flicvideo: use the AVFrame API properly.
zmbvenc: use the AVFrame API properly.
zerocodec: use the AVFrame API properly.
xxan: use the AVFrame API properly.
xan: use the AVFrame API properly.
vmnc: use the AVFrame API properly.
vmdvideo: use the AVFrame API properly.
motionpixels: use the AVFrame API properly.
rpza: use the AVFrame API properly.
fraps: use the AVFrame API properly.
truemotion1: use the AVFrame API properly.
truemotion2: use the AVFrame API properly.
ffmpeg: Do not fill gap before the first decodable frame on single stream input files unless the user explicitly requests it.

Fixes different behavior to JM and probably several if not all
reference decoders.

We cannot just do this unconditionally as it would ruin AV sync in
some use cases.

Bug-Found-by: BugMaster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: simplify early frame drop code

Also never early frame drop the first frame after a flush.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay: calculate last frame duration from vp->pts instead of frame_last_pts

Also do not update current pts on dropped frames, it is no longer necessary.

Fixes regression part of ticket #2507.

Signed-off-by: Marton Balint <cus@passwd.hu>
avcodec/x86/vp9dsp: use EXTERNAL_* macros.

Original fix by one of these developers:
    Anton Khirnov <anton@khirnov.net>
    Diego Biurrun <diego@biurrun.de>
    Luca Barbato <lu_zero@gentoo.org>
    Martin Storsjö <martin@martin.st>

See 97962b2 / 72ca830

Personnal guess is Diego Biurrun.
avcodec/vp9: make last_invisible local.

Original change by one of these developers:
    Anton Khirnov <anton@khirnov.net>
    Diego Biurrun <diego@biurrun.de>
    Luca Barbato <lu_zero@gentoo.org>
    Martin Storsjö <martin@martin.st>

See 97962b2 / 72ca830