Commit 0af0402a authored by mru's avatar mru

kill warnings


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5586 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f8a67c57
...@@ -137,10 +137,12 @@ static int read_braindead_odml_indx(AVFormatContext *s, int frame_num){ ...@@ -137,10 +137,12 @@ static int read_braindead_odml_indx(AVFormatContext *s, int frame_num){
ast->cum_len ++; ast->cum_len ++;
last_pos= pos; last_pos= pos;
}else{ }else{
int64_t offset= get_le64(pb); int64_t offset, pos;
int size = get_le32(pb); int duration;
int duration = get_le32(pb); offset = get_le64(pb);
int64_t pos= url_ftell(pb); get_le32(pb); /* size */
duration = get_le32(pb);
pos = url_ftell(pb);
url_fseek(pb, offset+8, SEEK_SET); url_fseek(pb, offset+8, SEEK_SET);
read_braindead_odml_indx(s, frame_num); read_braindead_odml_indx(s, frame_num);
...@@ -186,7 +188,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -186,7 +188,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
unsigned int size, nb_frames; unsigned int size, nb_frames;
int i, n; int i, n;
AVStream *st; AVStream *st;
AVIStream *ast; AVIStream *ast = NULL;
int xan_video = 0; /* hack to support Xan A/V */ int xan_video = 0; /* hack to support Xan A/V */
avi->stream_index= -1; avi->stream_index= -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment