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

Unified Diff: source/patched-ffmpeg-mt/libavformat/mmst.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/matroskadec.c ('k') | source/patched-ffmpeg-mt/libavformat/movenc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavformat/mmst.c
===================================================================
--- source/patched-ffmpeg-mt/libavformat/mmst.c (revision 50820)
+++ source/patched-ffmpeg-mt/libavformat/mmst.c (working copy)
@@ -258,7 +258,7 @@
// read the rest of the packet.
if (length_remaining < 0
|| length_remaining > sizeof(mms->in_buffer) - 12) {
- dprintf("Incoming message len %d exceeds buffer len %d\n",
+ dprintf(NULL, "Incoming message len %d exceeds buffer len %d\n",
length_remaining, sizeof(mms->in_buffer) - 12);
return -1;
}
@@ -291,7 +291,7 @@
if (length_remaining < 0
|| length_remaining > sizeof(mms->in_buffer) - 8) {
- dprintf("Incoming data len %d exceeds buffer len %d\n",
+ dprintf(NULL, "Incoming data len %d exceeds buffer len %d\n",
length_remaining, sizeof(mms->in_buffer));
return -1;
}
@@ -431,7 +431,7 @@
while(end - p >= sizeof(ff_asf_guid) + 8) {
uint64_t chunksize = AV_RL64(p + sizeof(ff_asf_guid));
if (!chunksize || chunksize > end - p) {
- dprintf("chunksize is exceptional value:%d!\n", chunksize);
+ dprintf(NULL, "chunksize is exceptional value:%d!\n", chunksize);
return -1;
}
if (!memcmp(p, ff_asf_file_header, sizeof(ff_asf_guid))) {
@@ -455,7 +455,7 @@
mms->streams[mms->stream_num].id = stream_id;
mms->stream_num++;
} else {
- dprintf("Too many streams.\n");
+ dprintf(NULL, "Too many streams.\n");
return -1;
}
}
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/matroskadec.c ('k') | source/patched-ffmpeg-mt/libavformat/movenc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698