mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-09 21:12:22 +08:00
uses FF_ARRAY_ELEMS() where appropriate
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -1341,7 +1341,7 @@ static int http_parse_request(HTTPContext *c)
|
||||
/* If this is WMP, get the rate information */
|
||||
if (extract_rates(ratebuf, sizeof(ratebuf), c->buffer)) {
|
||||
if (modify_current_stream(c, ratebuf)) {
|
||||
for (i = 0; i < sizeof(c->feed_streams) / sizeof(c->feed_streams[0]); i++) {
|
||||
for (i = 0; i < FF_ARRAY_ELEMS(c->feed_streams); i++) {
|
||||
if (c->switch_feed_streams[i] >= 0)
|
||||
do_switch_stream(c, i);
|
||||
}
|
||||
|
Reference in New Issue
Block a user