diff --git a/libmpdemux/network.c b/libmpdemux/network.c index 407ff2f6c2..2f71facfa6 100644 --- a/libmpdemux/network.c +++ b/libmpdemux/network.c @@ -439,7 +439,7 @@ extension=NULL; if( next_url!=NULL ) { close( fd ); url_free( url ); - url = url_new( next_url ); + streaming_ctrl->url = url = url_new( next_url ); http_free( http_hdr ); redirect = 1; }