[vlc-commits] packetizer: hevc: fix typo

Zhao Zhili git at videolan.org
Wed Aug 15 18:42:36 CEST 2018


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Fri Aug 10 17:24:53 2018 +0800| [2d0c701fb6c3745648e1bb9694f21a354643a7d1] | committer: Francois Cartegnie

packetizer: hevc: fix typo

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

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

 modules/packetizer/hevc_nal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/packetizer/hevc_nal.c b/modules/packetizer/hevc_nal.c
index b88c4eca77..f154efd5ee 100644
--- a/modules/packetizer/hevc_nal.c
+++ b/modules/packetizer/hevc_nal.c
@@ -1069,7 +1069,7 @@ bool hevc_get_picture_size( const hevc_sequence_parameter_set_t *p_sps,
     if( p_sps->conformance_window_flag )
     {
         *p_vh -= p_sps->conf_win.bottom_offset + p_sps->conf_win.top_offset;
-        *p_vh -= p_sps->conf_win.left_offset +  p_sps->conf_win.right_offset;
+        *p_vw -= p_sps->conf_win.left_offset +  p_sps->conf_win.right_offset;
     }
     return true;
 }



More information about the vlc-commits mailing list