]> git.sesse.net Git - vlc/blobdiff - modules/packetizer/mlp.c
Merge branch '1.0-bugfix'
[vlc] / modules / packetizer / mlp.c
index 5722c0cb4e68a8a3018e6e63fa9ff04ae727c67e..09abbcb7575af0eacb6fa528afc72044cc9a6a4a 100644 (file)
@@ -120,7 +120,7 @@ static int Open( vlc_object_t *p_this )
     decoder_t *p_dec = (decoder_t*)p_this;
     decoder_sys_t *p_sys;
 
-    if( p_dec->fmt_in.i_codec != VLC_FOURCC('m','l','p',' ') )
+    if( p_dec->fmt_in.i_codec != VLC_CODEC_MLP )
         return VLC_EGENERIC;
 
     /* */
@@ -137,7 +137,7 @@ static int Open( vlc_object_t *p_this )
 
     /* Set output properties */
     p_dec->fmt_out.i_cat = AUDIO_ES;
-    p_dec->fmt_out.i_codec = VLC_FOURCC('m','l','p',' ');
+    p_dec->fmt_out.i_codec = VLC_CODEC_MLP;
     p_dec->fmt_out.audio.i_rate = 0;
 
     /* Set callback */