Ticket #5980: MythTV-H264Parser.cpp.patch
File MythTV-H264Parser.cpp.patch, 1.1 KB (added by , 17 years ago) |
---|
-
libs/libmythtv/mpeg/H264Parser.cpp
370 370 */ 371 371 bool H264Parser::decode_Header(GetBitContext *gb) 372 372 { 373 uint first_mb_in_slice;373 int first_mb_in_slice; 374 374 375 375 if (log2_max_frame_num == 0 || pic_order_present_flag == -1) 376 376 { … … 591 591 592 592 int offset_for_non_ref_pic; 593 593 int offset_for_top_to_bottom_field; 594 uint tmp;594 int tmp; 595 595 bool gaps_in_frame_num_allowed_flag; 596 596 597 597 /* … … 647 647 shall be in the range of -231 to 231 - 1, inclusive. 648 648 */ 649 649 tmp = get_ue_golomb(gb); 650 for ( uint idx = 0; idx < tmp; ++idx)650 for (int idx = 0; idx < tmp; ++idx) 651 651 get_se_golomb(gb); // offset_for_ref_frame[i] 652 652 } 653 653 … … 925 925 sar_width = sar_height = 0; 926 926 } 927 927 928 uint H264Parser::aspectRatio(void) const928 int H264Parser::aspectRatio(void) const 929 929 { 930 930 931 931 double aspect = 0.0;