-rw-r--r-- | noncore/multimedia/opieplayer2/nullvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c index e2eb663..a49f9d3 100644 --- a/noncore/multimedia/opieplayer2/nullvideo.c +++ b/noncore/multimedia/opieplayer2/nullvideo.c | |||
@@ -603,33 +603,33 @@ void null_set_mode( xine_vo_driver_t* self, int depth, int rgb ) { | |||
603 | }; | 603 | }; |
604 | //free(this->yuv2rgb_factory ); | 604 | //free(this->yuv2rgb_factory ); |
605 | // this->yuv2rgb_factory = yuv2rgb_factory_init (this->yuv2rgb_mode, this->yuv2rgb_swap, | 605 | // this->yuv2rgb_factory = yuv2rgb_factory_init (this->yuv2rgb_mode, this->yuv2rgb_swap, |
606 | // this->yuv2rgb_cmap); | 606 | // this->yuv2rgb_cmap); |
607 | }; | 607 | }; |
608 | 608 | ||
609 | void null_display_handler( xine_vo_driver_t* self, display_xine_frame_t t, | 609 | void null_display_handler( xine_vo_driver_t* self, display_xine_frame_t t, |
610 | void* user_data ) { | 610 | void* user_data ) { |
611 | null_driver_t* this = (null_driver_t*) self->driver; | 611 | null_driver_t* this = (null_driver_t*) self->driver; |
612 | this->caller = user_data; | 612 | this->caller = user_data; |
613 | this->frameDis = t; | 613 | this->frameDis = t; |
614 | } | 614 | } |
615 | 615 | ||
616 | void null_preload_decoders( xine_stream_t *stream ) | 616 | void null_preload_decoders( xine_stream_t *stream ) |
617 | { | 617 | { |
618 | static const uint32_t preloadedAudioDecoders[] = { BUF_AUDIO_MPEG, BUF_AUDIO_VORBIS }; | 618 | static const uint32_t preloadedAudioDecoders[] = { BUF_AUDIO_MPEG, BUF_AUDIO_VORBIS }; |
619 | static const uint8_t preloadedAudioDecoderCount = sizeof( preloadedAudioDecoders ) / sizeof( preloadedAudioDecoders[ 0 ] ); | 619 | static const uint8_t preloadedAudioDecoderCount = sizeof( preloadedAudioDecoders ) / sizeof( preloadedAudioDecoders[ 0 ] ); |
620 | static const uint32_t preloadedVideoDecoders[] = { BUF_VIDEO_MPEG, BUF_VIDEO_MPEG4, BUF_VIDEO_DIVX5 }; | 620 | static const uint32_t preloadedVideoDecoders[] = { BUF_VIDEO_MPEG, BUF_VIDEO_MPEG4, BUF_VIDEO_DIVX5 }; |
621 | static const uint8_t preloadedVideoDecoderCount = sizeof( preloadedVideoDecoders ) / sizeof( preloadedVideoDecoders[ 0 ] ); | 621 | static const uint8_t preloadedVideoDecoderCount = sizeof( preloadedVideoDecoders ) / sizeof( preloadedVideoDecoders[ 0 ] ); |
622 | 622 | ||
623 | uint8_t i; | 623 | uint8_t i; |
624 | 624 | ||
625 | for ( i = 0; i < preloadedAudioDecoderCount; ++i ) { | 625 | for ( i = 0; i < preloadedAudioDecoderCount; ++i ) { |
626 | audio_decoder_t *decoder = get_audio_decoder( stream, ( preloadedAudioDecoders[ i ] >> 16 ) & 0xff ); | 626 | audio_decoder_t *decoder = get_audio_decoder( stream, ( preloadedAudioDecoders[ i ] >> 16 ) & 0xff ); |
627 | free_audio_decoder( stream, decoder ); | 627 | /* free_audio_decoder( stream, decoder ); */ |
628 | } | 628 | } |
629 | 629 | ||
630 | for ( i = 0; i < preloadedVideoDecoderCount; ++i ) { | 630 | for ( i = 0; i < preloadedVideoDecoderCount; ++i ) { |
631 | video_decoder_t *decoder = get_video_decoder( stream, ( preloadedVideoDecoders[ i ] >> 16 ) & 0xff ); | 631 | video_decoder_t *decoder = get_video_decoder( stream, ( preloadedVideoDecoders[ i ] >> 16 ) & 0xff ); |
632 | free_video_decoder( stream, decoder ); | 632 | /* free_video_decoder( stream, decoder ); */ |
633 | } | 633 | } |
634 | } | 634 | } |
635 | 635 | ||