Skip to content

Commit

Permalink
initialize variable to avoid uninitialized use found by Coverity
Browse files Browse the repository at this point in the history
Coverity ID 1349872
  • Loading branch information
dekarl committed Feb 9, 2016
1 parent 403ae3c commit 33dcb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/recorders/v4l2encstreamhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void V4L2encStreamHandler::run(void)
bool gap = false;
QDateTime gap_start;

int len, remainder;
int len, remainder = 0;

QByteArray buffer;
char* pkt_buf = new char[PACKET_SIZE + 1];
Expand Down

0 comments on commit 33dcb6b

Please sign in to comment.