1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix indention which was off by 1 space.

Originally committed as revision 16403 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-12-31 01:54:54 +00:00
parent 0b4ff0c9ef
commit 188e67eaf4

View File

@ -544,17 +544,17 @@ static int rm_assemble_video_frame(AVFormatContext *s, ByteIOContext *pb,
rm->remaining_len-= len; rm->remaining_len-= len;
if(type == 2 || (vst->videobufpos) == vst->videobufsize){ if(type == 2 || (vst->videobufpos) == vst->videobufsize){
vst->pkt.data[0] = vst->cur_slice-1; vst->pkt.data[0] = vst->cur_slice-1;
*pkt= vst->pkt; *pkt= vst->pkt;
vst->pkt.data= vst->pkt.data=
vst->pkt.size= 0; vst->pkt.size= 0;
if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin 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, memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices,
vst->videobufpos - 1 - 8*vst->slices); vst->videobufpos - 1 - 8*vst->slices);
pkt->size += 8*(vst->cur_slice - vst->slices); pkt->size += 8*(vst->cur_slice - vst->slices);
pkt->pts = AV_NOPTS_VALUE; pkt->pts = AV_NOPTS_VALUE;
pkt->pos = vst->pktpos; pkt->pos = vst->pktpos;
return 0; return 0;
} }
return 1; return 1;