Merge commit '489c180451b1cde469f6aeea44f8bdb11cd941d0' into release/1.1
[ffmpeg.git] / libavformat / rtmpproto.c
index 26e3e96..d5ad463 100644 (file)
@@ -2444,7 +2444,7 @@ reconnect:
         if ((ret = gen_connect(s, rt)) < 0)
             goto fail;
     } else {
-        if (read_connect(s, s->priv_data) < 0)
+        if ((ret = read_connect(s, s->priv_data)) < 0)
             goto fail;
         rt->is_input = 1;
     }