]> git.sesse.net Git - vlc/blobdiff - modules/misc/stats/decoder.c
Used VLC_CODEC_* and i_original_fourcc when applicable.
[vlc] / modules / misc / stats / decoder.c
index 5d9fa0a0998ccfdcb795b0906b56569030bc5d79..bc16bde02807fb0ea7606fd22b2dfa4b72ff1c0b 100644 (file)
@@ -54,7 +54,7 @@ int OpenDecoder ( vlc_object_t *p_this )
     p_dec->pf_decode_sub = NULL;
 
     /* */
-    es_format_Init( &p_dec->fmt_out, VIDEO_ES, VLC_FOURCC('I','4','2','0') );
+    es_format_Init( &p_dec->fmt_out, VIDEO_ES, VLC_CODEC_I420 );
     p_dec->fmt_out.video.i_width = 100;
     p_dec->fmt_out.video.i_height = 100;
     p_dec->fmt_out.video.i_aspect = VOUT_ASPECT_FACTOR;