+#ifndef FFMPEG_AVI_H
+#define FFMPEG_AVI_H
+
+#include "avcodec.h"
#define AVIF_HASINDEX 0x00000010 // Index at end of file?
#define AVIF_MUSTUSEINDEX 0x00000020
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 */
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));
{
DynBuffer *d = opaque;
int new_size, new_allocated_size;
- uint8_t *new_buffer;
/* reallocate buffer if needed */
new_size = d->pos + buf_size;