mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 06:30:06 +00:00
Prevent from using data->len when data is NULL (when play() return NULL).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25143 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4f1228ed5e
commit
70e7acda26
@ -514,7 +514,7 @@ af_data_t* af_play(af_stream_t* s, af_data_t* data)
|
||||
if (data->len <= 0) break;
|
||||
data=af->play(af,data);
|
||||
af=af->next;
|
||||
}while(af);
|
||||
}while(af && data);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user