[vlc-commits] avcodec: compilation fix (partial)

Rémi Denis-Courmont git at videolan.org
Tue Sep 1 19:42:40 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep  1 20:42:24 2015 +0300| [3d2850fe728424b3318e00c7be13ddba1cb3c544] | committer: Rémi Denis-Courmont

avcodec: compilation fix (partial)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d2850fe728424b3318e00c7be13ddba1cb3c544
---

 modules/codec/avcodec/encoder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 6aa7c6f..4f862c1 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -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,
                              &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 */
 
         i_cat      = VIDEO_ES;



More information about the vlc-commits mailing list