mirror of https://git.ffmpeg.org/ffmpeg.git
ffserver: reflow find_stream_in_feed()
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
parent
197acee767
commit
2699a37816
11
ffserver.c
11
ffserver.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue