Skip to content

Commit

Permalink
ffserver: reflow find_stream_in_feed()
Browse files Browse the repository at this point in the history
Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]>
  • Loading branch information
reynaldo committed Jan 24, 2015
1 parent 197acee commit 2699a37
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions ffserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1117,14 +1117,13 @@ static int find_stream_in_feed(FFServerStream *feed, AVCodecContext *codec, int
best_bitrate = feed_codec->bit_rate;
best = i;
}
} else {
if (feed_codec->bit_rate < best_bitrate) {
best_bitrate = feed_codec->bit_rate;
best = i;
}
continue;
}
if (feed_codec->bit_rate < best_bitrate) {
best_bitrate = feed_codec->bit_rate;
best = i;
}
}

return best;
}

Expand Down

0 comments on commit 2699a37

Please sign in to comment.