[vlc-commits] packetizer: hevc: fix typo

Zhao Zhili git at videolan.org
Wed Aug 15 18:43:21 CEST 2018


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

packetizer: hevc: fix typo

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>
(cherry picked from commit 2d0c701fb6c3745648e1bb9694f21a354643a7d1)

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

 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 0e044b75fb..683717f0eb 100644
--- a/modules/packetizer/hevc_nal.c
+++ b/modules/packetizer/hevc_nal.c
@@ -1066,7 +1066,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