[vlc-commits] [Git][videolan/vlc][master] packetizer: hevc: fix offset defaults on missing info

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Oct 24 13:01:05 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
d6f3ef7a by François Cartegnie at 2023-10-24T12:39:27+00:00
packetizer: hevc: fix offset defaults on missing info

regression by 8c047bb483c2d9ad08cfc04a085fbbe690e6fd1d

- - - - -


1 changed file:

- modules/packetizer/hevc_nal.c


Changes:

=====================================
modules/packetizer/hevc_nal.c
=====================================
@@ -1085,6 +1085,10 @@ bool hevc_get_picture_size( const hevc_sequence_parameter_set_t *p_sps,
         *p_vh -= (p_sps->conf_win.bottom_offset + p_sps->conf_win.top_offset) * sub_height_c;
         *p_vw -= (p_sps->conf_win.left_offset +  p_sps->conf_win.right_offset) * sub_width_c;
     }
+    else
+    {
+        *p_oy = *p_ox = 0;
+    }
     return true;
 }
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/d6f3ef7aaa28419b61cffd8314be9d3826383282
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