Ticket #5980: MythTV-H264Parser.cpp.patch

File MythTV-H264Parser.cpp.patch, 1.1 KB (added by Jonathan Martens <jonathan@…>, 17 years ago)
  • libs/libmythtv/mpeg/H264Parser.cpp

     
    370370*/
    371371bool H264Parser::decode_Header(GetBitContext *gb)
    372372{
    373     uint first_mb_in_slice;
     373    int first_mb_in_slice;
    374374
    375375    if (log2_max_frame_num == 0 || pic_order_present_flag == -1)
    376376    {
     
    591591
    592592    int  offset_for_non_ref_pic;
    593593    int  offset_for_top_to_bottom_field;
    594     uint tmp;
     594    int tmp;
    595595    bool gaps_in_frame_num_allowed_flag;
    596596
    597597    /*
     
    647647          shall be in the range of -231 to 231 - 1, inclusive.
    648648         */
    649649        tmp = get_ue_golomb(gb);
    650         for (uint idx = 0; idx < tmp; ++idx)
     650        for (int idx = 0; idx < tmp; ++idx)
    651651            get_se_golomb(gb);  // offset_for_ref_frame[i]
    652652    }
    653653
     
    925925        sar_width = sar_height = 0;
    926926}
    927927
    928 uint H264Parser::aspectRatio(void) const
     928int H264Parser::aspectRatio(void) const
    929929{
    930930
    931931    double aspect = 0.0;