gecko/media/liboggplay/bug498815.patch
2009-06-19 15:11:41 +12:00

16 lines
751 B
Diff

diff --git a/media/liboggplay/src/liboggplay/oggplay_callback.c b/media/liboggplay/src/liboggplay/oggplay_callback.c
index 8706014..bd45123 100644
--- a/media/liboggplay/src/liboggplay/oggplay_callback.c
+++ b/media/liboggplay/src/liboggplay/oggplay_callback.c
@@ -701,8 +701,8 @@ oggplay_callback_predetected (OGGZ *oggz, ogg_packet *op, long serialno,
* call appropriate callback
*/
if (callbacks[content_type].callback != NULL) {
- callbacks[content_type].callback(oggz, op, serialno,
- me->decode_data[me->num_tracks - 1]);
+ return callbacks[content_type].callback(oggz, op, serialno,
+ me->decode_data[me->num_tracks - 1]);
}
return 0;