Mercurial > libavformat.hg
changeset 122:013a7a0f2a1f libavformat
* keeping compiler happy and quiet
author | kabi |
---|---|
date | Wed, 23 Apr 2003 18:38:34 +0000 |
parents | b9bd706c1ac3 |
children | 3b9e4b0a91e2 |
files | avi.h avienc.c aviobuf.c |
diffstat | 3 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/avi.h Wed Apr 23 08:58:42 2003 +0000 +++ b/avi.h Wed Apr 23 18:38:34 2003 +0000 @@ -1,3 +1,7 @@ +#ifndef FFMPEG_AVI_H +#define FFMPEG_AVI_H + +#include "avcodec.h" #define AVIF_HASINDEX 0x00000010 // Index at end of file? #define AVIF_MUSTUSEINDEX 0x00000020 @@ -27,5 +31,6 @@ extern const CodecTag codec_wav_tags[]; unsigned int codec_get_tag(const CodecTag *tags, int id); -enum CodecID; enum CodecID codec_get_id(const CodecTag *tags, unsigned int tag); + +#endif /* FFMPEG_AVI_H */
--- a/avienc.c Wed Apr 23 08:58:42 2003 +0000 +++ b/avienc.c Wed Apr 23 18:38:34 2003 +0000 @@ -525,9 +525,9 @@ unsigned char tag[5]; if (!url_is_streamed(pb)) { - AVIIentry* ie, *tie; + AVIIentry* ie = 0, *tie; int entry[MAX_STREAMS]; - int empty, stream_id; + int empty, stream_id = -1; idx_chunk = start_tag(pb, "idx1"); memset(&entry[0], 0, sizeof(entry));