comparison avidec.c @ 45:2036f790ece3 libavformat

Try this fix
author bellard
date Sun, 02 Feb 2003 15:54:11 +0000
parents 8a5285a0ca2f
children a58a8a53eb46
comparison
equal deleted inserted replaced
44:7c5da7e7239a 45:2036f790ece3
48 static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) 48 static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
49 { 49 {
50 AVIContext *avi = s->priv_data; 50 AVIContext *avi = s->priv_data;
51 ByteIOContext *pb = &s->pb; 51 ByteIOContext *pb = &s->pb;
52 UINT32 tag, tag1; 52 UINT32 tag, tag1;
53 int codec_type, stream_index, size, frame_period, bit_rate; 53 int codec_type, stream_index, frame_period, bit_rate;
54 unsigned int size;
54 int i; 55 int i;
55 AVStream *st; 56 AVStream *st;
56 57
57 /* check RIFF header */ 58 /* check RIFF header */
58 tag = get_le32(pb); 59 tag = get_le32(pb);