Browse Source

avformat/protocols: Fix ff_urlcontext_child_class_next()

This fixes -read_ahead_limit

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 10 years ago
parent
commit
4899c02c38
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/protocols.c

+ 1
- 1
libavformat/protocols.c View File

@@ -215,7 +215,7 @@ const AVClass *ff_urlcontext_child_class_next(const AVClass *prev)
int i;

/* 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) {
i++;
break;


Loading…
Cancel
Save