Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: source/patched-ffmpeg-mt/libavformat/http.c

Issue 2850032: ffmpeg update to june 23 version which fixes mp4 crash on still frames with 3... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/http.h ('k') | source/patched-ffmpeg-mt/libavformat/internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavformat/http.c
===================================================================
--- source/patched-ffmpeg-mt/libavformat/http.c (revision 50820)
+++ source/patched-ffmpeg-mt/libavformat/http.c (working copy)
@@ -53,7 +53,6 @@
static int http_connect(URLContext *h, const char *path, const char *hoststr,
const char *auth, int *new_location);
-static int http_write(URLContext *h, const uint8_t *buf, int size);
void ff_http_set_headers(URLContext *h, const char *headers)
{
@@ -153,7 +152,6 @@
}
h->priv_data = s;
s->filesize = -1;
- s->chunksize = -1;
s->is_chunked = 1;
s->off = 0;
s->init = 0;
@@ -323,7 +321,7 @@
authstr ? authstr : "");
av_freep(&authstr);
- if (http_write(h, s->buffer, strlen(s->buffer)) < 0)
+ if (url_write(s->hd, s->buffer, strlen(s->buffer)) < 0)
return AVERROR(EIO);
/* init input buffer */
@@ -332,6 +330,7 @@
s->line_count = 0;
s->off = 0;
s->filesize = -1;
+ s->chunksize = -1;
if (post) {
/* always use chunked encoding for upload data */
s->chunksize = 0;
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/http.h ('k') | source/patched-ffmpeg-mt/libavformat/internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698