rtpenc: Fix memory leaks in the muxer open function

Also return a proper error code in these cases.

Signed-off-by: Martin Storsjö <martin@martin.st>
amr: More space cleanup

This was missed in the previous cleanup patch.

Signed-off-by: Martin Storsjö <martin@martin.st>
amr: Mark an array const

Signed-off-by: Martin Storsjö <martin@martin.st>
http: Fail reading if the connection has gone away

This can happen if doing a new request using the same socket,
but the new request failed, which clears the urlcontext.

Signed-off-by: Martin Storsjö <martin@martin.st>
http: Properly handle chunked transfer-encoding for replies to post data

Signed-off-by: Martin Storsjö <martin@martin.st>
RTMPT protocol support

This adds two protocols, but one of them is an internal implementation
detail just used as an abstraction layer/generalization in the code. The
RTMPT protocol implementation uses rtmphttp:// as an alternative to the
tcp:// protocol. This allows moving most of the lower level logic out
from the higher level generic rtmp code.

Signed-off-by: Martin Storsjö <martin@martin.st>
dwt: remove variable-length arrays

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure: Sort the library listings in the help text alphabetically

Only these three libraries were out of order, the rest was already
neatly sorted.

Signed-off-by: Martin Storsjö <martin@martin.st>
rtpenc: Allow requesting H264 RTP packetization mode 0

This requires all NAL units to fit within single RTP packets. It
doesn't change the actual packetization for packets that fit, but
errors out and gives a helpful hint if the NAL units would have to
be split, and signals the right packetization mode in the SDP.

Signed-off-by: Martin Storsjö <martin@martin.st>
fate: vorbis: add 5.1 surround test

Signed-off-by: Mans Rullgard <mans@mansr.com>
vorbisdec: replace div/mod in loop with a counter

2x speedup of surround decoding on Cortex-A9.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Add Dolby/DPLII downmix support to libavresample

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
lavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs
lavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs
  lavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs
  Add Dolby/DPLII downmix support to libavresample
  vorbisdec: replace div/mod in loop with a counter
  fate: vorbis: add 5.1 surround test
  rtpenc: Allow requesting H264 RTP packetization mode 0
  configure: Sort the library listings in the help text alphabetically
  dwt: remove variable-length arrays
  RTMPT protocol support
  http: Properly handle chunked transfer-encoding for replies to post data
  http: Fail reading if the connection has gone away
  amr: Mark an array const
  amr: More space cleanup
  rtpenc: Fix memory leaks in the muxer open function

Conflicts:
	Changelog
	configure
	doc/APIchanges
	libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
snowenc: update selftest code for the new temporary arrays

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
asv1: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
huffyuv: switch to av_assert

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