[vlc-commits] [Git][videolan/vlc][master] avcodec/encoder: fix FourCC logging

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Oct 26 07:30:48 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
adeb34f6 by Steve Lhomme at 2023-10-26T07:13:36+00:00
avcodec/encoder: fix FourCC logging

Introduced in 5c153bf0b11d1ebed92ae2b5e8ccb8740c8f442f

- - - - -


1 changed file:

- modules/codec/avcodec/encoder.c


Changes:

=====================================
modules/codec/avcodec/encoder.c
=====================================
@@ -876,7 +876,7 @@ int InitVideoEnc( vlc_object_t *p_this )
         p_context->pix_fmt = FindFfmpegChroma( p_enc->fmt_in.video.i_chroma, &uv_flipped );
         if (unlikely(uv_flipped))
             msg_Warn(p_enc, "VLC chroma needs UV planes swapping %4.4s",
-                p_enc->fmt_in.video.i_chroma);
+                     (char*)&p_enc->fmt_in.video.i_chroma);
     }
 
     /* Make sure we get extradata filled by the encoder */



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/adeb34f6140dad4c92409a061196ed2a59b4e07f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/adeb34f6140dad4c92409a061196ed2a59b4e07f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list