File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -516,10 +516,10 @@ class HevcVideoParser extends BaseVideoParser {
516516 eg . readBoolean ( ) ; // frame_field_info_present_flag
517517 default_display_window_flag = eg . readBoolean ( ) ;
518518 if ( default_display_window_flag ) {
519- pic_left_offset += eg . readUEG ( ) ;
520- pic_right_offset += eg . readUEG ( ) ;
521- pic_top_offset += eg . readUEG ( ) ;
522- pic_bottom_offset += eg . readUEG ( ) ;
519+ eg . skipUEG ( ) ;
520+ eg . skipUEG ( ) ;
521+ eg . skipUEG ( ) ;
522+ eg . skipUEG ( ) ;
523523 }
524524 const vui_timing_info_present_flag = eg . readBoolean ( ) ;
525525 if ( vui_timing_info_present_flag ) {
@@ -604,7 +604,7 @@ class HevcVideoParser extends BaseVideoParser {
604604
605605 let width = pic_width_in_luma_samples ,
606606 height = pic_height_in_luma_samples ;
607- if ( conformance_window_flag || default_display_window_flag ) {
607+ if ( conformance_window_flag ) {
608608 let chroma_scale_w = 1 ,
609609 chroma_scale_h = 1 ;
610610 if ( chroma_format_idc === 1 ) {
You can’t perform that action at this time.
0 commit comments