Mercurial > mplayer.hg
changeset 19135:776e4be859e9
Quit on eof, was broken by r17150
Noticed by LR hephooey gmail com
author | rtogni |
---|---|
date | Wed, 19 Jul 2006 18:20:25 +0000 |
parents | 1b3b5258a94e |
children | 87f9eebbf712 |
files | libmpcodecs/ad_realaud.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_realaud.c Wed Jul 19 05:47:21 2006 +0000 +++ b/libmpcodecs/ad_realaud.c Wed Jul 19 18:20:25 2006 +0000 @@ -410,6 +410,8 @@ if(sh->a_in_buffer_len<=0){ // fill the buffer! + if (sh->ds->eof) + return 0; demux_read_data(sh->ds, sh->a_in_buffer, sh->wf->nBlockAlign); sh->a_in_buffer_size= sh->a_in_buffer_len=sh->wf->nBlockAlign;