rtpenc_chain: Free the URLContext on failure
authorMartin Storsjö <martin@martin.st>
Fri, 25 May 2012 21:40:54 +0000 (00:40 +0300)
committerMartin Storsjö <martin@martin.st>
Sat, 26 May 2012 10:35:44 +0000 (13:35 +0300)
commit93cef6f923d9842b647665f3b42342fa71887a18
tree9024d9a9428c77590c92c2d31307c4403f58203f
parent2dcb21a95d67c7d1027344abefff57b0fdaa4e33
rtpenc_chain: Free the URLContext on failure

If an URLContext is passed in, its ownership is given to this
function, and is either owned by the returned AVFormatContext
on a successful return, or freed on failure.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpenc_chain.c