]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtsp.c
http: Change the chunksize AVOption into chunked_post
[ffmpeg] / libavformat / rtsp.c
index 862582aaa80303129e531a6c8ad6e79ce1bf9c77..8f7bd3718f769f9e9fb81db5fd4f9071af39dd29 100644 (file)
@@ -1486,7 +1486,7 @@ redirect:
                  "Expires: Sun, 9 Jan 1972 00:00:00 GMT\r\n",
                  sessioncookie);
         av_opt_set(rt->rtsp_hd_out->priv_data, "headers", headers, 0);
-        av_opt_set(rt->rtsp_hd_out->priv_data, "chunksize", "-1", 0);
+        av_opt_set(rt->rtsp_hd_out->priv_data, "chunked_post", "0", 0);
 
         /* Initialize the authentication state for the POST session. The HTTP
          * protocol implementation doesn't properly handle multi-pass