| Index: patches/to_upstream/02_mov_dref_looping.patch
|
| ===================================================================
|
| --- patches/to_upstream/02_mov_dref_looping.patch (revision 41250)
|
| +++ patches/to_upstream/02_mov_dref_looping.patch (working copy)
|
| @@ -1,14 +1,14 @@
|
| -Index: patched-ffmpeg-mt/libavformat/mov.c
|
| -===================================================================
|
| ---- patched-ffmpeg-mt/libavformat/mov.c (revision 39607)
|
| -+++ patched-ffmpeg-mt/libavformat/mov.c (working copy)
|
| -@@ -269,6 +269,8 @@
|
| +Only in unpatched_ffmpeg-mt: ffmpeg-mt
|
| +diff -rpu unpatched_ffmpeg-mt/libavformat/mov.c ffmpeg-mt/libavformat/mov.c
|
| +--- unpatched_ffmpeg-mt/libavformat/mov.c 2010-03-11 17:46:31 -0800
|
| ++++ ffmpeg-mt/libavformat/mov.c 2010-03-11 19:08:40 -0800
|
| +@@ -312,6 +312,8 @@ static int mov_read_dref(MOVContext *c,
|
| MOVDref *dref = &sc->drefs[i];
|
| uint32_t size = get_be32(pb);
|
| int64_t next = url_ftell(pb) + size - 4;
|
| + if (size < 8)
|
| + return -1;
|
| -
|
| +
|
| dref->type = get_le32(pb);
|
| get_be32(pb); // version + flags
|
| -
|
| +Only in ffmpeg-mt/libavformat: mov.c~
|
|
|