# HG changeset patch # User Matti Hamalainen # Date 1375702433 -10800 # Node ID 3b6cea0d19809802d2ddb0567edcb0131fe40efd # Parent 26ee741f8c0837ea221c58348f9e48e17fc35607 Disable audio support from liboggplayer, as it fails due to the video not having audio track. diff -r 26ee741f8c08 -r 3b6cea0d1980 liboggplayer-src/src/open_close.cpp --- a/liboggplayer-src/src/open_close.cpp Mon Aug 05 14:33:35 2013 +0300 +++ b/liboggplayer-src/src/open_close.cpp Mon Aug 05 14:33:53 2013 +0300 @@ -127,6 +127,7 @@ fprintf(stderr, "DDD: 0\n"); return false; } +#if 0 if (vorbis_p) { vorbis_synthesis_init(&v_state, &v_info); vorbis_block_init(&v_state, &v_block); @@ -134,6 +135,7 @@ fprintf(stderr, "DDD: 1\n"); return false; } +#endif return true; } @@ -185,6 +187,7 @@ return; } +#if 0 // 5) init audio conversion int ret = SDL_BuildAudioCVT(&cvt, AUDIO_S16, v_info.channels, v_info.rate, audio_format, channels, rate); @@ -192,6 +195,8 @@ failbit = true; return; } +#endif + // play() will allocate memory when needed audio_buffer_size = 0; audio_buffer = NULL;