1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00

semi-hack: avoid passing 0-length blocks to audio filters.

Fixes bugzilla bug #391 (lavcresample crashes).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16816 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-10-20 09:12:28 +00:00
parent def1404bc4
commit d475a9523f

View File

@ -503,6 +503,7 @@ af_data_t* af_play(af_stream_t* s, af_data_t* data)
af_instance_t* af=s->first;
// Iterate through all filters
do{
if (data->len <= 0) break;
data=af->play(af,data);
af=af->next;
}while(af);