In RingBuffer::CalcReadAheadThresh, estbitrate is not initialized.
From: Erik Hovland <erik@hovland.org>
---
libs/libmythtv/RingBuffer.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/libmythtv/RingBuffer.cpp b/libs/libmythtv/RingBuffer.cpp
index fd205e4..716d2d0 100644
a
|
b
|
void RingBuffer::UpdatePlaySpeed(float play_speed) |
531 | 531 | */ |
532 | 532 | void RingBuffer::CalcReadAheadThresh(void) |
533 | 533 | { |
534 | | uint estbitrate; |
| 534 | uint estbitrate = 0; |
535 | 535 | |
536 | 536 | pthread_rwlock_wrlock(&rwlock); |
537 | 537 | wantseek = false; |