comparison utils.c @ 6185:52bff8f1701f libavformat

Fix a warning in av_read_frame_internal Patch by Eli Friedman, eli dot friedman at gmail
author mstorsjo
date Mon, 28 Jun 2010 08:04:52 +0000
parents 4fc5e0e4e1cd
children fa244b4fe683
comparison
equal deleted inserted replaced
6184:eb590b2816f8 6185:52bff8f1701f
1075 pkt->dts = st->parser->dts; 1075 pkt->dts = st->parser->dts;
1076 pkt->pos = st->parser->pos; 1076 pkt->pos = st->parser->pos;
1077 if(pkt->data == st->cur_pkt.data && pkt->size == st->cur_pkt.size){ 1077 if(pkt->data == st->cur_pkt.data && pkt->size == st->cur_pkt.size){
1078 s->cur_st = NULL; 1078 s->cur_st = NULL;
1079 pkt->destruct= st->cur_pkt.destruct; 1079 pkt->destruct= st->cur_pkt.destruct;
1080 st->cur_pkt.destruct= 1080 st->cur_pkt.destruct= NULL;
1081 st->cur_pkt.data = NULL; 1081 st->cur_pkt.data = NULL;
1082 assert(st->cur_len == 0); 1082 assert(st->cur_len == 0);
1083 }else{ 1083 }else{
1084 pkt->destruct = NULL; 1084 pkt->destruct = NULL;
1085 } 1085 }