}
}
is->seek_req = 0;
+ eof= 0;
}
/* if the queue are full, no need to read more */
}
if(url_feof(ic->pb) || eof) {
if(is->video_stream >= 0){
- av_init_packet(pkt);
- pkt->data=NULL;
- pkt->size=0;
- pkt->stream_index= is->video_stream;
- packet_queue_put(&is->videoq, pkt);
+ av_init_packet(pkt);
+ pkt->data=NULL;
+ pkt->size=0;
+ pkt->stream_index= is->video_stream;
+ packet_queue_put(&is->videoq, pkt);
}
SDL_Delay(10);
continue;