Skip to content

Commit 5737ccc

Browse files
committedMay 11, 2016
android/OpenSLES: return -1 if failed to open.
·
k0.8.8k0.6.0
1 parent 85cf4fb commit 5737ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎ijkmedia/ijksdl/android/ijksdl_aout_android_opensles.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ static int aout_open_audio(SDL_Aout *aout, const SDL_AudioSpec *desired, SDL_Aud
430430
return opaque->buffer_capacity;
431431
fail:
432432
aout_close_audio(aout);
433-
return 0;
433+
return -1;
434434
}
435435

436436
static void aout_pause_audio(SDL_Aout *aout, int pause_on)

0 commit comments

Comments
 (0)
Please sign in to comment.