vlc | branch: master | Francois Cartegnie <[email protected]> | Tue Feb  7 
15:07:46 2017 +0100| [ba9273599578e05883c80432998250c04e892c7f] | committer: 
Francois Cartegnie

packetizer: fix reading crop parameters

copy/paste strikes again

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

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

diff --git a/modules/packetizer/h264_nal.c b/modules/packetizer/h264_nal.c
index a8b7110..1190fdc 100644
--- a/modules/packetizer/h264_nal.c
+++ b/modules/packetizer/h264_nal.c
@@ -385,7 +385,7 @@ static bool h264_parse_sequence_parameter_set_rbsp( bs_t 
*p_bs,
     {
         p_sps->frame_crop.left_offset = bs_read_ue( p_bs );
         p_sps->frame_crop.right_offset = bs_read_ue( p_bs );
-        p_sps->frame_crop.right_offset = bs_read_ue( p_bs );
+        p_sps->frame_crop.top_offset = bs_read_ue( p_bs );
         p_sps->frame_crop.bottom_offset = bs_read_ue( p_bs );
     }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to