author | simon <simon> | 2002-12-14 17:00:16 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-14 17:00:16 (UTC) |
commit | bbdeff25bd0cc5ff59d52fd8bf25cdfbeac8f251 (patch) (side-by-side diff) | |
tree | 6357471675db58fbf6d1d9d168618635c2e5cbf6 | |
parent | 354b07f236773c0dbb642972a7dffb598ea1af2f (diff) | |
download | opie-bbdeff25bd0cc5ff59d52fd8bf25cdfbeac8f251.zip opie-bbdeff25bd0cc5ff59d52fd8bf25cdfbeac8f251.tar.gz opie-bbdeff25bd0cc5ff59d52fd8bf25cdfbeac8f251.tar.bz2 |
- skip the free_(audio|video)_decoder calls. today's libvorbis doesn't
like it
-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 ) { }; //free(this->yuv2rgb_factory ); // this->yuv2rgb_factory = yuv2rgb_factory_init (this->yuv2rgb_mode, this->yuv2rgb_swap, // this->yuv2rgb_cmap); }; void null_display_handler( xine_vo_driver_t* self, display_xine_frame_t t, void* user_data ) { null_driver_t* this = (null_driver_t*) self->driver; this->caller = user_data; this->frameDis = t; } void null_preload_decoders( xine_stream_t *stream ) { static const uint32_t preloadedAudioDecoders[] = { BUF_AUDIO_MPEG, BUF_AUDIO_VORBIS }; static const uint8_t preloadedAudioDecoderCount = sizeof( preloadedAudioDecoders ) / sizeof( preloadedAudioDecoders[ 0 ] ); static const uint32_t preloadedVideoDecoders[] = { BUF_VIDEO_MPEG, BUF_VIDEO_MPEG4, BUF_VIDEO_DIVX5 }; static const uint8_t preloadedVideoDecoderCount = sizeof( preloadedVideoDecoders ) / sizeof( preloadedVideoDecoders[ 0 ] ); uint8_t i; for ( i = 0; i < preloadedAudioDecoderCount; ++i ) { audio_decoder_t *decoder = get_audio_decoder( stream, ( preloadedAudioDecoders[ i ] >> 16 ) & 0xff ); - free_audio_decoder( stream, decoder ); +/* free_audio_decoder( stream, decoder ); */ } for ( i = 0; i < preloadedVideoDecoderCount; ++i ) { video_decoder_t *decoder = get_video_decoder( stream, ( preloadedVideoDecoders[ i ] >> 16 ) & 0xff ); - free_video_decoder( stream, decoder ); +/* free_video_decoder( stream, decoder ); */ } } |