Fixes a segfault when trying to write sdp information without an rtp
output stream, also clarifies that the sdp_file option requires an rtp
output format.

Example of segfaulting command:
ffmpeg -re -f lavfi -i testsrc -re -f lavfi -i aevalsrc=0 -sdp_file test -c:v 
libx264 -strict -2 -f rtp_mpegts rtp://localhost:5555

Simon Thelen (2):
  ffmpeg: Don't try and write sdp info if none of the outputs had an rtp
        format.
  doc/ffmpeg: Clarify that the sdp_file option requires an rtp output.

 doc/ffmpeg.texi | 4 ++--
 ffmpeg.c        | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.6.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to