Opened 12 years ago

Closed 12 years ago

#5096 closed defect (duplicate)

estbitrate is not initialized in RingBuffer::UpdatePlaySpeed

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

estbitrate is not initialized before being used in RingBuffer::UpdatePlaySpeed?(). It is highly unlikely that it will be used before it is given some real value. But if we set it at declaration, then we know what it starts out as.

Attachments (1)

libs_libmythtv_RingBuffer.cpp-init-estbitrate.patch (621 bytes) - added by Erik Hovland <erik@…> 12 years ago.
init variable

Download all attachments as: .zip

Change History (2)

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

init variable

comment:1 Changed 12 years ago by danielk

Resolution: duplicate
Status: newclosed

dup #5285

Note: See TracTickets for help on using tickets.