mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
586 B
Diff
24 lines
586 B
Diff
diff --git a/media/liboggplay/src/liboggplay/oggplay.c b/media/liboggplay/src/liboggplay/oggplay.c
|
|
index 3296fea..d6256c6 100644
|
|
--- a/media/liboggplay/src/liboggplay/oggplay.c
|
|
+++ b/media/liboggplay/src/liboggplay/oggplay.c
|
|
@@ -708,14 +708,15 @@ read_more_data:
|
|
oggplay_data_clean_list (me->decode_data[i]);
|
|
}
|
|
|
|
+ if (me->shutdown) {
|
|
+ return E_OGGPLAY_OK;
|
|
+ }
|
|
+
|
|
if (info == NULL) {
|
|
goto read_more_data;
|
|
}
|
|
|
|
me->target += me->callback_period;
|
|
- if (me->shutdown) {
|
|
- return E_OGGPLAY_OK;
|
|
- }
|
|
if (r == -1) {
|
|
return E_OGGPLAY_USER_INTERRUPT;
|
|
}
|