Mercurial > libavformat.hg
comparison avidec.c @ 838:128838bc4bb6 libavformat
kill a bunch of compiler warnings
author | mru |
---|---|
date | Sun, 14 Aug 2005 15:42:40 +0000 |
parents | feca73904e67 |
children | 43210d766412 |
comparison
equal
deleted
inserted
replaced
837:4cf524326a1a | 838:128838bc4bb6 |
---|---|
642 } | 642 } |
643 return 0; | 643 return 0; |
644 } | 644 } |
645 | 645 |
646 static int guess_ni_flag(AVFormatContext *s){ | 646 static int guess_ni_flag(AVFormatContext *s){ |
647 AVIContext *avi = s->priv_data; | |
648 int i; | 647 int i; |
649 int64_t last_start=0; | 648 int64_t last_start=0; |
650 int64_t first_end= INT64_MAX; | 649 int64_t first_end= INT64_MAX; |
651 | 650 |
652 for(i=0; i<s->nb_streams; i++){ | 651 for(i=0; i<s->nb_streams; i++){ |
653 AVStream *st = s->streams[i]; | 652 AVStream *st = s->streams[i]; |
654 AVIStream *ast = st->priv_data; | |
655 int n= st->nb_index_entries; | 653 int n= st->nb_index_entries; |
656 | 654 |
657 if(n <= 0) | 655 if(n <= 0) |
658 continue; | 656 continue; |
659 | 657 |