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

Side by Side Diff: chromium/patches/to_upstream/34_ogg_memcpy.patch

Issue 9290059: Initial commit of all previous Chrome build scripts. (Closed) Base URL: http://git.chromium.org/chromium/third_party/ffmpeg.git@master
Patch Set: Drop deprecated subfolder. Created 8 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 diff -wurp -N orig/libavformat/oggdec.c ffmpeg/libavformat/oggdec.c
2 --- orig/libavformat/oggdec.c 2011-07-12 20:49:56.784219402 -0700
3 +++ ffmpeg/libavformat/oggdec.c 2011-07-12 20:49:56.832983905 -0700
4 @@ -109,6 +109,8 @@
5 avio_seek (bc, ost->pos, SEEK_SET);
6 ogg->curidx = ost->curidx;
7 ogg->nstreams = ost->nstreams;
8 + ogg->streams = av_realloc (ogg->streams,
9 + ogg->nstreams * sizeof (*ogg->streams));
10 memcpy(ogg->streams, ost->streams,
11 ost->nstreams * sizeof(*ogg->streams));
12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698