Mercurial > mplayer.hg
comparison libmpcodecs/ad_realaud.c @ 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 | a1807995e2ab |
children | abfc5854e80a |
comparison
equal
deleted
inserted
replaced
19134:1b3b5258a94e | 19135:776e4be859e9 |
---|---|
408 int result; | 408 int result; |
409 int len=-1; | 409 int len=-1; |
410 | 410 |
411 if(sh->a_in_buffer_len<=0){ | 411 if(sh->a_in_buffer_len<=0){ |
412 // fill the buffer! | 412 // fill the buffer! |
413 if (sh->ds->eof) | |
414 return 0; | |
413 demux_read_data(sh->ds, sh->a_in_buffer, sh->wf->nBlockAlign); | 415 demux_read_data(sh->ds, sh->a_in_buffer, sh->wf->nBlockAlign); |
414 sh->a_in_buffer_size= | 416 sh->a_in_buffer_size= |
415 sh->a_in_buffer_len=sh->wf->nBlockAlign; | 417 sh->a_in_buffer_len=sh->wf->nBlockAlign; |
416 } | 418 } |
417 | 419 |