Added better period_time setup to the ALSA output code.

Added end-of-file checking to the libac3.
This commit is contained in:
Jaroslav Kysela 2001-05-08 08:55:33 +00:00
parent 3d1998857a
commit c40c3b5623
6 changed files with 47 additions and 23 deletions

View file

@ -82,7 +82,8 @@ ac3_decode_frame(void)
uint_32 i;
//find a syncframe and parse
parse_syncinfo(&syncinfo);
if (parse_syncinfo(&syncinfo) < 0)
return NULL;
if(error_flag)
goto error;