]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/applehttp.c
libmodplug: add TODO entry for probing.
[ffmpeg] / libavformat / applehttp.c
index 80bf8648592ba89c70efed9a064c2d0d48352ef8..d4026daae27942b1e4cd8e2239c8577ca61ca3b3 100644 (file)
@@ -412,7 +412,7 @@ reload:
     c->end_of_segment = 1;
     c->cur_seq_no = v->cur_seq_no;
 
-    if (v->ctx) {
+    if (v->ctx && v->ctx->nb_streams) {
         v->needed = 0;
         for (i = v->stream_offset; i < v->stream_offset + v->ctx->nb_streams;
              i++) {