Revision 546031ee

View differences:

libavformat/avi.h
1
#ifndef FFMPEG_AVI_H
2
#define FFMPEG_AVI_H
3

  
4
#include "avcodec.h"
1 5

  
2 6
#define AVIF_HASINDEX		0x00000010	// Index at end of file?
3 7
#define AVIF_MUSTUSEINDEX	0x00000020
......
27 31
extern const CodecTag codec_wav_tags[];
28 32

  
29 33
unsigned int codec_get_tag(const CodecTag *tags, int id);
30
enum CodecID;
31 34
enum CodecID codec_get_id(const CodecTag *tags, unsigned int tag);
35

  
36
#endif /* FFMPEG_AVI_H */
libavformat/avienc.c
525 525
    unsigned char tag[5];
526 526

  
527 527
    if (!url_is_streamed(pb)) {
528
	AVIIentry* ie, *tie;
528
	AVIIentry* ie = 0, *tie;
529 529
	int entry[MAX_STREAMS];
530
	int empty, stream_id;
530
	int empty, stream_id = -1;
531 531

  
532 532
	idx_chunk = start_tag(pb, "idx1");
533 533
	memset(&entry[0], 0, sizeof(entry));
libavformat/aviobuf.c
556 556
{
557 557
    DynBuffer *d = opaque;
558 558
    int new_size, new_allocated_size;
559
    uint8_t *new_buffer;
560 559
    
561 560
    /* reallocate buffer if needed */
562 561
    new_size = d->pos + buf_size;

Also available in: Unified diff