Opened 16 years ago

Closed 16 years ago

#5139 closed defect (fixed)

PESPacket ctors and SequenceHeader don't init member vars in ctor

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

PESPacket has two ctors, both miss initializing _ccLast and _allocSize.

SequenceHeader? doesn't initialize its data private member.

Attachments (1)

libs_libmythtv_mpeg_pespacket.h-init-data-in-ctor.patch (1.6 KB) - added by Erik Hovland <erik@…> 16 years ago.
init ccLast and allocSize in PESPacket ctors, data in SequenceHeader?

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by Erik Hovland <erik@…>

init ccLast and allocSize in PESPacket ctors, data in SequenceHeader?

comment:1 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17200]) Fixes #5139. Initialize ccLast and _allocSize in PESPacket ctor, and makes the incomplete SequenceHeader? ctor's private.

Note: See TracTickets for help on using tickets.