Mercurial > mplayer.hg
diff libmpcodecs/ad_faad.c @ 16336:6a9283411dfe
stop trying to decode faad audio, when last decoded length is <0
author | attila |
---|---|
date | Thu, 01 Sep 2005 15:25:03 +0000 |
parents | c8dc500e078e |
children | 7252d024193b |
line wrap: on
line diff
--- a/libmpcodecs/ad_faad.c Thu Sep 01 13:25:39 2005 +0000 +++ b/libmpcodecs/ad_faad.c Thu Sep 01 15:25:03 2005 +0000 @@ -211,7 +211,7 @@ int j = 0, len = 0; void *faac_sample_buffer; - while(len < minlen) { + while(len < minlen && len > 0) { /* update buffer for raw aac streams: */ if(!sh->codecdata_len)