diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-31 01:54:54 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-31 01:54:54 +0000 |
commit | 188e67eaf426fecfb28596e8bf529ef01f48a15c (patch) | |
tree | 22f068733d1a7e15126773ba2416630c77102313 /libavformat/rmdec.c | |
parent | 0b4ff0c9ef2a5d4bd691a214f8a57d2d65274a18 (diff) | |
download | ffmpeg-188e67eaf426fecfb28596e8bf529ef01f48a15c.tar.gz |
Fix indention which was off by 1 space.
Originally committed as revision 16403 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index a6b95a1f88..469b0f5f0e 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -544,17 +544,17 @@ static int rm_assemble_video_frame(AVFormatContext *s, ByteIOContext *pb, 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; |