tqi: Pass errors from the MB decoder

This silences some valgrind warnings.
CC: libav-stable@libav.org

Fixes second half of http://ffmpeg.org/trac/ffmpeg/ticket/794
Bug found by: Oana Stratulat

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit f85334f58e1286287d0547a49fa9c93b40cbf48f)
flvdec: Make sure sample_rate is set to the updated value

The sample_rate variable is used for checks for audio format
changes at the end of the function.

This fixes cases where the sample rate was set from the codec
id by flv_set_audio_codec (as for nellymoser 8 kHz/16 kHz),
so the value set to last_sample_rate wasn't equal to sample_rate
at this point. This caused the demuxer otherwise reports a spurious
change to 5512 Hz and back to the correct one.

Updating channels in the same way is only done for consistency.
Currently, flv_set_audio_codec doesn't update that value.

Signed-off-by: Martin Storsjö <martin@martin.st>
lavfi: add audio mix filter
rtmp: Check ff_rtmp_packet_create calls

Check malloc calls used by ff_rtmp_packet_create, unify error
handling and pass on error codes.

Signed-off-by: Martin Storsjö <martin@martin.st>
rtmp: Check malloc calls

Signed-off-by: Martin Storsjö <martin@martin.st>
rtmp: Return a proper error code instead of -1

Signed-off-by: Martin Storsjö <martin@martin.st>
Build the aformat filter when ffmpeg is built.
fate: update checksum after pal8 changes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
dshow: rename dshow.h to avoid conflict with system header of equal name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: set base in dr1 allocation.

This matches the default non dr1 allocator

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc: remove ffmpeg-mt-authorship.txt from master (for upcoming 0.11)

This lists git history, which is better kept in the history itself
that is both ours as this file as well as the actual history of the
ffmpeg-mt project.
If someone thinks this is not ok, drop me a mail and ill put it back!

Also note this file was not carried in our previous release with noone
complaining

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
rtmp: Check return codes of net IO operations

Signed-off-by: Martin Storsjö <martin@martin.st>
rtmp: Pass the proper return code in rtmp_handshake

Signed-off-by: Martin Storsjö <martin@martin.st>
Changelog: update for 0.11

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg: use AUTO_INSERT_FILTER() for -async option.
lavfi/video: add avfilter.h include to fix make checkheaders.
ffplay: dont destroy packet queues on stream change

This fixes occasional segfaults caused by lock request of the packet queue from
the reader thread.

Also don't allow to put frames into the queue when it's aborted, and don't try
to fill the queue with frames when it is aborted.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay: flush codec buffers before freeing filters

We do this to ensure that input_get_buffer is not called from a
frame_worker_thread of a multithreaded decoder when we already freed the
filters.

Fixes occasional segfaults on video stream change.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay: fix stream cycling if audio decoding fails

Fixes ticket 1161.

Signed-off-by: Marton Balint <cus@passwd.hu>