Commit 3d2850fe authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avcodec: compilation fix (partial)

parent 1745ddf1
...@@ -303,7 +303,7 @@ int OpenEncoder( vlc_object_t *p_this ) ...@@ -303,7 +303,7 @@ int OpenEncoder( vlc_object_t *p_this )
else if( !GetFfmpegCodec( p_enc->fmt_out.i_codec, &i_cat, &i_codec_id, else if( !GetFfmpegCodec( p_enc->fmt_out.i_codec, &i_cat, &i_codec_id,
&psz_namecodec ) ) &psz_namecodec ) )
{ {
if( FindFfmpegChroma( p_enc->fmt_out.i_codec ) == PIX_FMT_NONE ) if( FindFfmpegChroma( p_enc->fmt_out.i_codec ) == AV_PIX_FMT_NONE )
return VLC_EGENERIC; /* handed chroma output */ return VLC_EGENERIC; /* handed chroma output */
i_cat = VIDEO_ES; i_cat = VIDEO_ES;
......
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