Mercurial > libavformat.hg
changeset 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 |
files | rmdec.c |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/rmdec.c Wed Dec 31 01:53:12 2008 +0000 +++ b/rmdec.c Wed Dec 31 01:54:54 2008 +0000 @@ -544,17 +544,17 @@ rm->remaining_len-= len; if(type == 2 || (vst->videobufpos) == vst->videobufsize){ - vst->pkt.data[0] = vst->cur_slice-1; - *pkt= vst->pkt; - vst->pkt.data= - vst->pkt.size= 0; - if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin + vst->pkt.data[0] = vst->cur_slice-1; + *pkt= vst->pkt; + vst->pkt.data= + vst->pkt.size= 0; + if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices, vst->videobufpos - 1 - 8*vst->slices); - pkt->size += 8*(vst->cur_slice - vst->slices); - pkt->pts = AV_NOPTS_VALUE; - pkt->pos = vst->pktpos; - return 0; + pkt->size += 8*(vst->cur_slice - vst->slices); + pkt->pts = AV_NOPTS_VALUE; + pkt->pos = vst->pktpos; + return 0; } return 1;