diff options
author | Tim Terriberry <tterribe@xiph.org> | 2010-10-13 23:12:19 +0000 |
---|---|---|
committer | Tim Terriberry <tterribe@xiph.org> | 2010-10-13 23:12:19 +0000 |
commit | 88015f25dc5c29bf2819bfd8f7d2b46ec20dc204 (patch) | |
tree | 2d26702b018fd7cc556a718eaf9e24a976ae581b /iseeking_example.c | |
parent | 69dfba92c6a0b872273ae79a832d89d6e83a7363 (diff) | |
download | tremor-88015f25dc5c29bf2819bfd8f7d2b46ec20dc204.tar.gz |
Fixes for r17514.
Actually allocate the right number of comments, and add an extra check against
i+1 overflowing (which could happen with a 4 GB comment packet on a 64-bit
machine... unlikely, but possible).
git-svn-id: https://svn.xiph.org/trunk/Tremor@17515 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'iseeking_example.c')
-rw-r--r-- | iseeking_example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iseeking_example.c b/iseeking_example.c index aaf0d39..533d7bd 100644 --- a/iseeking_example.c +++ b/iseeking_example.c @@ -18,8 +18,8 @@ #include <stdlib.h> #include <stdio.h> -#include <vorbis/ivorbiscodec.h> -#include <vorbis/ivorbisfile.h> +#include "ivorbiscodec.h" +#include "ivorbisfile.h" #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */ # include <io.h> |