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

Side by Side Diff: patches/to_upstream/54_mov_stss.patch

Issue 9309087: Fix fairly harmless OOB read from MAV_0001.3G2.asan.4f.188 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « patches/README ('k') | source/patched-ffmpeg/libavformat/mov.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff -wurp -N orig/libavformat/mov.c ffmpeg/libavformat/mov.c
2 --- orig/libavformat/mov.c 2012-02-03 11:39:21.961119253 -0800
3 +++ ffmpeg/libavformat/mov.c 2012-02-03 11:39:56.500485313 -0800
4 @@ -1558,7 +1558,7 @@ static void mov_build_index(MOVContext *
5 unsigned int stts_sample = 0;
6 unsigned int sample_size;
7 unsigned int distance = 0;
8 - int key_off = sc->keyframes && sc->keyframes[0] == 1;
9 + int key_off = sc->keyframe_count && sc->keyframes[0] == 1;
10
11 current_dts -= sc->dts_shift;
12
OLDNEW
« no previous file with comments | « patches/README ('k') | source/patched-ffmpeg/libavformat/mov.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698