Skip to content

Commit

Permalink
Fix cppcheck warnings.
Browse files Browse the repository at this point in the history
This fixes an apparent mistake in
a1eac71.
  • Loading branch information
stichnot committed May 18, 2013
1 parent 40a7c0b commit 33da3bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -1989,7 +1989,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)

if (!enc->codec)
{
if (OpenAVCodec(enc, codec) < 0)
if (!OpenAVCodec(enc, codec))
continue;
}

Expand Down Expand Up @@ -2248,7 +2248,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)
{
QMutexLocker locker(avcodeclock);

if (OpenAVCodec(enc, codec) < 0)
if (!OpenAVCodec(enc, codec))
{
scanerror = -1;
break;
Expand Down

0 comments on commit 33da3bf

Please sign in to comment.