[vlc-commits] codec: videotoolbox: fix build

Francois Cartegnie git at videolan.org
Tue Oct 3 14:29:15 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Oct  3 14:27:42 2017 +0200| [f48d0cb06af3edc19148f9fe5a730547556cbe74] | committer: Francois Cartegnie

codec: videotoolbox: fix build

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

 modules/codec/videotoolbox.m | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 2c48981389..800a36e328 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -626,10 +626,10 @@ static bool VideoToolboxNeedsToRestartH264(decoder_t *p_dec,
     unsigned w, h, vw, vh;
     int sarn, sard;
 
-    if (h264_helper_get_current_picture_size(hh, &w, &h, &vw, &vh) != VLC_SUCCESS)
+    if (hxxx_helper_get_current_picture_size(hh, &w, &h, &vw, &vh) != VLC_SUCCESS)
         return true;
 
-    if (h264_helper_get_current_sar(hh, &sarn, &sard) != VLC_SUCCESS)
+    if (hxxx_helper_get_current_sar(hh, &sarn, &sard) != VLC_SUCCESS)
         return true;
 
     CFMutableDictionaryRef extradataInfo = H264ExtradataInfoCreate(hh);
@@ -1152,19 +1152,19 @@ static int SetH264DecoderInfo(decoder_t *p_dec, CFMutableDictionaryRef extradata
     unsigned i_h264_width, i_h264_height, i_video_width, i_video_height;
     int i_sar_num, i_sar_den, i_ret;
 
-    i_ret = h264_helper_get_current_profile_level(&p_sys->hh, &i_profile, &i_level);
+    i_ret = hxxx_helper_get_current_profile_level(&p_sys->hh, &i_profile, &i_level);
     if (i_ret != VLC_SUCCESS)
         return i_ret;
     if (!IsH264ProfileLevelSupported(p_dec, i_profile, i_level))
         return VLC_ENOMOD; /* This error is critical */
 
-    i_ret = h264_helper_get_current_picture_size(&p_sys->hh,
+    i_ret = hxxx_helper_get_current_picture_size(&p_sys->hh,
                                                  &i_h264_width, &i_h264_height,
                                                  &i_video_width, &i_video_height);
     if (i_ret != VLC_SUCCESS)
         return i_ret;
 
-    i_ret = h264_helper_get_current_sar(&p_sys->hh, &i_sar_num, &i_sar_den);
+    i_ret = hxxx_helper_get_current_sar(&p_sys->hh, &i_sar_num, &i_sar_den);
     if (i_ret != VLC_SUCCESS)
         return i_ret;
 



More information about the vlc-commits mailing list