comparison rmdec.c @ 4145:c1c1a6d0d529 libavformat

Fix indention which was off by 1 space.
author michael
date Wed, 31 Dec 2008 01:54:54 +0000
parents 4970ba98ca58
children af6cde9a76d1
comparison
equal deleted inserted replaced
4144:4970ba98ca58 4145:c1c1a6d0d529
542 return AVERROR(EIO); 542 return AVERROR(EIO);
543 vst->videobufpos += len; 543 vst->videobufpos += len;
544 rm->remaining_len-= len; 544 rm->remaining_len-= len;
545 545
546 if(type == 2 || (vst->videobufpos) == vst->videobufsize){ 546 if(type == 2 || (vst->videobufpos) == vst->videobufsize){
547 vst->pkt.data[0] = vst->cur_slice-1; 547 vst->pkt.data[0] = vst->cur_slice-1;
548 *pkt= vst->pkt; 548 *pkt= vst->pkt;
549 vst->pkt.data= 549 vst->pkt.data=
550 vst->pkt.size= 0; 550 vst->pkt.size= 0;
551 if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin 551 if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin
552 memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices, 552 memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices,
553 vst->videobufpos - 1 - 8*vst->slices); 553 vst->videobufpos - 1 - 8*vst->slices);
554 pkt->size += 8*(vst->cur_slice - vst->slices); 554 pkt->size += 8*(vst->cur_slice - vst->slices);
555 pkt->pts = AV_NOPTS_VALUE; 555 pkt->pts = AV_NOPTS_VALUE;
556 pkt->pos = vst->pktpos; 556 pkt->pos = vst->pktpos;
557 return 0; 557 return 0;
558 } 558 }
559 559
560 return 1; 560 return 1;
561 } 561 }
562 562