mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
avformat/protocols: Fix ff_urlcontext_child_class_next()
This fixes -read_ahead_limit Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -215,7 +215,7 @@ const AVClass *ff_urlcontext_child_class_next(const AVClass *prev)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* find the protocol that corresponds to prev */
|
/* find the protocol that corresponds to prev */
|
||||||
for (i = 0; url_protocols[i]; i++) {
|
for (i = 0; prev && url_protocols[i]; i++) {
|
||||||
if (url_protocols[i]->priv_data_class == prev) {
|
if (url_protocols[i]->priv_data_class == prev) {
|
||||||
i++;
|
i++;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user