Ticket #4918: libs_libmythtv_mpeg_tspacket.h-comment-fixing.patch

File libs_libmythtv_mpeg_tspacket.h-comment-fixing.patch, 1.2 KB (added by Erik Hovland <erik@…>, 12 years ago)

fix two spelling typos in the comments

  • libs/libmythtv/mpeg/tspacket.h

    A few mistakes were made in the comments. This patch is meant to fix them.
    
    From: Erik Hovland <erik@hovland.org>
    
    
    ---
    
     libs/libmythtv/mpeg/tspacket.h |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/libs/libmythtv/mpeg/tspacket.h b/libs/libmythtv/mpeg/tspacket.h
    index ca086f8..4e46f83 100644
    a b class TSHeader { 
    5757    //3.0  2 bit transport_scrambling_control (00,01 OK; 10,11 scrambled)
    5858    unsigned int ScramplingControl() const { return (_tsdata[3] >> 6) & 0x3; }
    5959    //3.2  2 bit adaptation_field_control
    60     //       (01-no adptation field,payload only
     60    //       (01-no adaptation field,payload only
    6161    //        10-adaptation field only,no payload
    6262    //        11-adaptation field followed by payload
    6363    //        00-reserved)
    class TSPacket : public TSHeader 
    141141        return HasAdaptationField() ? _tspayload[0]+1+4 : 4;
    142142    }
    143143
    144     //4.0  8 bits, iff payloadStart(), points to start of field
     144    //4.0  8 bits, if payloadStart(), points to start of field
    145145    unsigned int StartOfFieldPointer() const { return data()[AFCOffset()]; }
    146146    void SetStartOfFieldPointer(uint sof) { data()[AFCOffset()] = sof; }
    147147