]> git.sesse.net Git - vlc/blobdiff - modules/codec/shine/shine_mod.c
Added and used VLC_CODEC_MP3 when applicable.
[vlc] / modules / codec / shine / shine_mod.c
index ec460c52574b069454355cffb33a0ee0bdec8dc6..168d21a62bcf2aad53fe40a913c739897f76cb6d 100644 (file)
@@ -74,7 +74,7 @@ static int OpenEncoder( vlc_object_t *p_this )
     encoder_sys_t *p_sys;
 
     /* FIXME: what about layers 1 and 2 ? shine is an 'MP3' encoder */
-    if( p_enc->fmt_out.i_codec != VLC_FOURCC('m','p','3',' ') ||
+    if( p_enc->fmt_out.i_codec != VLC_CODEC_MP3 ||
         p_enc->fmt_out.audio.i_channels > 2 )
         return VLC_EGENERIC;