Commit 07d9dbd1 authored by Sam Hocevar's avatar Sam Hocevar

* modules/stream_out/transcode.c: fixed an uninitialised variable.

parent 7489cd23
...@@ -950,6 +950,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id, ...@@ -950,6 +950,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
break; break;
default: default:
p_out = NULL;
block_Release( p_buffer ); block_Release( p_buffer );
break; break;
} }
...@@ -1004,7 +1005,7 @@ static filter_t *transcode_audio_filter_new( sout_stream_t *p_stream, ...@@ -1004,7 +1005,7 @@ static filter_t *transcode_audio_filter_new( sout_stream_t *p_stream,
filter_t *p_filter = vlc_object_create( p_stream, VLC_OBJECT_FILTER ); filter_t *p_filter = vlc_object_create( p_stream, VLC_OBJECT_FILTER );
vlc_object_attach( p_filter, p_stream ); vlc_object_attach( p_filter, p_stream );
p_filter->pf_audio_buffer_new = __block_New; p_filter->pf_audio_buffer_new = (block_t* (*) (filter_t*, int))__block_New;
p_filter->fmt_in = *p_fmt_in; p_filter->fmt_in = *p_fmt_in;
p_filter->fmt_out = *p_fmt_out; p_filter->fmt_out = *p_fmt_out;
......
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