Changeset 0a60a95fed8919588e440b5b4b5786449a79151f

Show
Ignore:
Timestamp:
18/08/07 16:44:47 (1 year ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1187448287 +0000
git-parent:

[2dd551cb0f3b48228f499bc4024063d88bb05457]

git-author:
Rafaël Carré <funman@videolan.org> 1187448287 +0000
Message:

Disables meta reading in vorbis codec when taglib plugin is being built

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r7ca5e9c r0a60a95  
    17281728  AS_IF([test "${enable_taglib}" != "no"],[ 
    17291729    PKG_CHECK_MODULES(TAGLIB, taglib, 
    1730       [ VLC_ADD_PLUGINS([taglib]) 
     1730      [ AC_DEFINE( HAVE_TAGLIB, 1, [Define if you have taglib plugin built] ) 
     1731        VLC_ADD_PLUGINS([taglib]) 
    17311732        VLC_ADD_LDFLAGS([taglib],[$TAGLIB_LIBS -lz]) 
    17321733       VLC_ADD_CXXFLAGS([taglib],[$TAGLIB_CFLAGS]) ], 
  • modules/codec/vorbis.c

    r51880eb r0a60a95  
    137137static block_t *SendPacket( decoder_t *, ogg_packet *, block_t * ); 
    138138 
     139#ifndef HAVE_TAGLIB 
    139140static void ParseVorbisComments( decoder_t * ); 
     141#endif 
    140142 
    141143static void ConfigureChannelOrder(int *, int, uint32_t, vlc_bool_t ); 
     
    433435        return VLC_EGENERIC; 
    434436    } 
     437#ifndef HAVE_TAGLIB 
    435438    ParseVorbisComments( p_dec ); 
     439#endif 
    436440 
    437441    /* The next packet in order is the codebooks header 
     
    606610} 
    607611 
    608 /***************************************************************************** 
    609  * ParseVorbisComments: FIXME should be done in demuxer 
     612#ifndef HAVE_TAGLIB 
     613/***************************************************************************** 
     614 * ParseVorbisComments 
    610615 *****************************************************************************/ 
    611616static void ParseVorbisComments( decoder_t *p_dec ) 
     
    723728    } 
    724729} 
     730#endif 
    725731 
    726732/*****************************************************************************