fate: add an option to generate the references

Useful to add or update fate tests.
avutil/buffer: add get_opaque

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg/avformat: factor av_guess_frame_rate() out

This will be used in ffplay

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vda_h264_dec: fit the new API

It fixes a memory leak in this decoder caused by the API change.

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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
noise_bsf: check if allocation failed

Signed-off-by: Paul B Mahol <onemda@gmail.com>
vmdav: use more unchecked bytestream2 variants where it makes sense

Signed-off-by: Paul B Mahol <onemda@gmail.com>
aacps: correct opdipd code to match spec

This fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
paf_video: make code independent of sizeof(AVFrame)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Fix pthread_cond and pthread_mutex leaks in vp8

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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>
Do not show "Estimating duration from bitrate" warning if no duration was estimated.
Fix compilation with --enable-decoder=webp --disable-decoder=vp8
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>