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:56:29 +0000 (23:56 +0100)
commitdac3598563ad14704efc40f52acb1eb3b294835d
tree3cf1312911238d6c09d87c9a25103643129c1e7f
parentc0cd8747ef14dabb91261d910c34bc09c683773a
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>
(cherry picked from commit 70fb5eadc580a82c4b977a1233d70ad0041faba0)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
ffmpeg.c