Commit bf43238e authored by Jean-Paul Saman's avatar Jean-Paul Saman

Forward port of revision 16113. Fixes a bug in live555 module, that made audio...

Forward port of revision 16113. Fixes a bug in live555 module, that made audio packets (only for audio types that are not supported) being sent to the video decoder. This caused artefacts and segmentation faults in the decoder. VLC core handles the case for codec being not supported just fine, so removed the check for undefined codec.
parent 42b84e0a
...@@ -713,10 +713,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -713,10 +713,7 @@ static int Open ( vlc_object_t *p_this )
} }
} }
if( tk->fmt.i_codec != VLC_FOURCC( 'u', 'n', 'd', 'f' ) )
{
tk->p_es = es_out_Add( p_demux->out, &tk->fmt ); tk->p_es = es_out_Add( p_demux->out, &tk->fmt );
}
if( sub->rtcpInstance() != NULL ) if( sub->rtcpInstance() != NULL )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment