Skip to content

Commit

Permalink
Remove now useless code.
Browse files Browse the repository at this point in the history
Thank to Paul Harrison for spotting it
  • Loading branch information
jyavenard committed Jan 1, 2013
1 parent 49dbed5 commit 88573b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -1796,7 +1796,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)
tracks[kTrackTypeRawText].clear();
if (!novideo)
{
// we won't rescan video streams
// we will rescan video streams
tracks[kTrackTypeVideo].clear();
selectedTrack[kTrackTypeVideo].av_stream_index = -1;
}
Expand Down Expand Up @@ -2046,7 +2046,6 @@ int AvFormatDecoder::ScanStreams(bool novideo)
for(;;)
{
AVCodec *codec = NULL;
selectedTrack[kTrackTypeVideo].av_stream_index == -1;
LOG(VB_PLAYBACK, LOG_INFO, LOC +
"Trying to select best video track");

Expand Down

0 comments on commit 88573b7

Please sign in to comment.