fate: add an option to generate the references

Useful to add or update fate tests.
lavc/libtheoraenc: clarify comment about global_quality to quality conversion
doc/texi2pod.pl: skip printing chapter names if they are disabled
lavc: remove empty function

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: add an option to generate the references

Conflicts:
	doc/fate.texi
	tests/fate-run.sh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
fate: Print correct error message for reference generation too

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: use av_guess_frame_rate()

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Fix compilation with --enable-decoder=webp --disable-decoder=vp8
  Do not show "Estimating duration from bitrate" warning if no duration was estimated.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Write broken aac frames to mov files instead of skipping them.

Fixes decoding with picky media players.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vp8: Fix pthread_cond and pthread_mutex leaks

CC: libav-stable@libav.org

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
ffplay: fix early frame dropped pts serial

Fixes early frame drop which was kind of broken since
26c208cf0ff59efd7786528884a64d35fc42e9bf.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay: always queue attachment pictures after flushing the video packet queue

Requeue them after seeking and also after opening a video stream. Also don't
fill the video queue in case of an attached picture video stream since there
will be no more than one packet from that stream.

Signed-off-by: Marton Balint <cus@passwd.hu>
doc/platform: Remove part about dllimport

Only deprecated things need this at all anymore, as we have functions
to access them or they are no longer needed.

The document should not encourage use of deprecated APIs.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
h264: Move slice_table clean out of frame_start

Fixes inconsistency ultimately leading to an out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil: add av_buffer_get_ref_count()

This function is quite usefull for debuging

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264_refs: assert that long ref fields have not been inserted multiple times

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264_refs: assert that the references are not deallocated

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264: move the default_ref_list_done check down after its inputs have been written

Fixes out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264: move last_slice_type reset into decode_slice_header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264_direct: assert the validity of the spatial ref

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