Commit c72861ca authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DVBsub encoder: don't use vlc_fourcc_to_char

parent 87d07ba3
......@@ -1966,10 +1966,7 @@ static block_t *Encode( encoder_t *p_enc, subpicture_t *p_subpic )
if( ( p_region->fmt.i_chroma != VLC_CODEC_TEXT ) &&
( p_region->fmt.i_chroma != VLC_CODEC_YUVP ) )
{
char psz_fourcc[5];
memset( &psz_fourcc, 0, sizeof( psz_fourcc ) );
vlc_fourcc_to_char( p_region->fmt.i_chroma, &psz_fourcc );
msg_Err( p_enc, "chroma %4.4s not supported", psz_fourcc );
msg_Err( p_enc, "chroma %4.4s not supported", (char *)&p_region->fmt.i_chroma );
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment