ffmpeg: Don't try and write sdp info if none of the outputs had an rtp format.
authorSimon Thelen <ffmpeg-dev@c-14.de>
Mon, 2 Nov 2015 15:36:16 +0000 (16:36 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Nov 2015 22:43:11 +0000 (23:43 +0100)
commit70fb5eadc580a82c4b977a1233d70ad0041faba0
treef19b08db42bdefc2ae11df2aac006d9863e9100d
parent72f9a6349cae0eba7caf9e338bee46c1d9baed27
ffmpeg: Don't try and write sdp info if none of the outputs had an rtp format.

Fixes a segfault when trying to write nonexistent rtp information.

Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffmpeg.c