Skip to content

Commit

Permalink
Don't reset fail state by accident.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 24, 2011
1 parent 16821bd commit bfbc811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sdltheoraplay.c
Expand Up @@ -521,7 +521,7 @@ static void playfile(const char *fname, const THEORAPLAY_VideoFormat vidfmt,
spec.channels = audio->channels;
spec.samples = 2048;
spec.callback = audio_callback;
initfailed = quit = (SDL_OpenAudio(&spec, NULL) != 0);
initfailed = quit = (initfailed || (SDL_OpenAudio(&spec, NULL) != 0));
} // if

baseticks = SDL_GetTicks();
Expand Down

0 comments on commit bfbc811

Please sign in to comment.