avformat: Use av_reallocp_array() where suitable

Signed-off-by: Diego Biurrun <diego@biurrun.de>
fate.sh: Run git-clone quietly
doc: Drop VDPAU from list of supported codecs
Drop pointless directory name prefixes from #includes in the current dir
Merge commit 'f369b9356c4606cd4d713d60f7db5de119d901fa'

* commit 'f369b9356c4606cd4d713d60f7db5de119d901fa':
  avformat: Use av_reallocp_array() where suitable

Conflicts:
	libavformat/asfenc.c
	libavformat/gxfenc.c
	libavformat/mov.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
avformat/matroskadec: ebml_parse_elem() should not deallocate priorly existing lists on failure

This reverts a hunk from "avformat: Use av_reallocp_array() where suitable"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/matroskaenc: functions that add entries should not destroy the whole list on failure

This reverts a hunk from "avformat: Use av_reallocp_array() where suitable"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/mxfdec: functions that add entries should not destroy the whole list on failure

The caller does not expect this and there are variables left that index to otherwise
deallocated data.

This reverts a hunk from "avformat: Use av_reallocp_array() where suitable"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/utils: functions that add entries should not destroy the whole list on failure

The caller does not expect this, and in case of adding new streams would then
not even be able to deallocate them anymore.

This reverts a hunk from "avformat: Use av_reallocp_array() where suitable"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'c58f4069e1d5b5804c669b691510e1b8fabb67fc'

* commit 'c58f4069e1d5b5804c669b691510e1b8fabb67fc':
  fate.sh: Run git-clone quietly

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'ec17d1aa8b833d49d8fc479e44e9e22858aa486c'

* commit 'ec17d1aa8b833d49d8fc479e44e9e22858aa486c':
  doc: Drop VDPAU from list of supported codecs

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Drop pointless directory name prefixes from #includes in the current dir

Merged-by: Michael Niedermayer <michaelni@gmx.at>
avformat/flic: check for memory allocation failures

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avformat/sierravmd: check for memory allocation failures

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avformat/ffmetadec: return meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avformat/libnut: check avformat_new_stream() return value

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avformat/smacker: check avformat_new_stream() return value

Signed-off-by: Paul B Mahol <onemda@gmail.com>
avformat/gxfenc: Check and propagate return code from gxf_write_map_packet()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/gxfenc: Clear nb_fields on array deallocation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/asfenc: use av_freep() for extra saftey

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