From c63c5501af35f886a14a02b479311a8b784db273 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Sat, 9 Jul 2011 16:20:41 +0300 Subject: Cosmetics: reordered functions --- src/libspuhdmv/xine_hdmv_decoder.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/libspuhdmv/xine_hdmv_decoder.c b/src/libspuhdmv/xine_hdmv_decoder.c index 3b9843177..88213a5fa 100644 --- a/src/libspuhdmv/xine_hdmv_decoder.c +++ b/src/libspuhdmv/xine_hdmv_decoder.c @@ -693,6 +693,14 @@ typedef struct spuhdmv_decoder_s { } spuhdmv_decoder_t; +static void free_objs(spuhdmv_decoder_t *this) +{ + LIST_DESTROY (this->cluts, free); + LIST_DESTROY (this->objects, free_subtitle_object); + LIST_DESTROY (this->windows, free); + LIST_DESTROY (this->segments, free_presentation_segment); +} + static int decode_palette(spuhdmv_decoder_t *this) { /* decode */ @@ -907,14 +915,6 @@ static void update_overlays(spuhdmv_decoder_t *this) } } -static void free_objs(spuhdmv_decoder_t *this) -{ - LIST_DESTROY (this->cluts, free); - LIST_DESTROY (this->objects, free_subtitle_object); - LIST_DESTROY (this->windows, free); - LIST_DESTROY (this->segments, free_presentation_segment); -} - static void decode_segment(spuhdmv_decoder_t *this) { XINE_HDMV_TRACE("*** new segment, pts %010"PRId64": 0x%02x (%8d bytes)\n", -- cgit v1.2.3