Mercurial > mplayer.hg
changeset 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 | 5a19ef74fb30 |
children | 7252d024193b |
files | libmpcodecs/ad_faad.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)