Commit a2c4c13b authored by Ghislain MARY's avatar Ghislain MARY

Fix compilation on Windows.

parent d113fe66
......@@ -334,8 +334,8 @@ static void close_av_player(AudioStream *stream){
struct _AVPlayer *player=&stream->av_player;
if (player->player){
unplumb_av_player(stream);
MSPlayerState st=MSPlayerClosed;
unplumb_av_player(stream);
if (ms_filter_call_method(player->player,MS_PLAYER_GET_STATE,&st)==0){
if (st!=MSPlayerClosed)
ms_filter_call_method_noarg(player->player,MS_PLAYER_CLOSE);
......
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