ging/licode — pull request #132 by jnoring (2014-06-13 21:47:16+00:00)
Title: Fix a crash in the destructor of external output.

Two issues:

1. calling av_write_trailer() without having called avformat_write_header is a party foul
2. dereferencing audio_stream_/video_stream_ without checking for null is also a party foul.