[vlc-commits] codec: omxil: Fix build

Marvin Scholz git at videolan.org
Fri Oct 11 13:44:57 CEST 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Oct 11 13:15:57 2019 +0200| [a10514f12fcc72245bfd667c7838e8bc6982a273] | committer: Marvin Scholz

codec: omxil: Fix build

Co-authored-by: Steve Lhomme <robux4 at ycbcr.xyz>

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

 modules/codec/omxil/mediacodec_jni.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/omxil/mediacodec_jni.c b/modules/codec/omxil/mediacodec_jni.c
index fa0f66e7ae..3a3a71c745 100644
--- a/modules/codec/omxil/mediacodec_jni.c
+++ b/modules/codec/omxil/mediacodec_jni.c
@@ -425,11 +425,11 @@ char* MediaCodec_GetName(vlc_object_t *p_obj, const char *psz_mime,
                             switch (omx_profile)
                             {
                                 case 0x1: /* OMX_VIDEO_HEVCProfileMain */
-                                    codec_profile = HEVC_PROFILE_MAIN;
+                                    codec_profile = VLC_HEVC_PROFILE_MAIN;
                                     break;
                                 case 0x2:    /* OMX_VIDEO_HEVCProfileMain10 */
                                 case 0x1000: /* OMX_VIDEO_HEVCProfileMain10HDR10 */
-                                    codec_profile = HEVC_PROFILE_MAIN_10;
+                                    codec_profile = VLC_HEVC_PROFILE_MAIN_10;
                                     break;
                             }
                         }



More information about the vlc-commits mailing list