Revision ce0453aa

View differences:

libavformat/rmdec.c
551 551
        if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin
552 552
            memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices,
553 553
                vst->videobufpos - 1 - 8*vst->slices);
554
        pkt->size += 8*(vst->cur_slice - vst->slices);
554
        pkt->size = vst->videobufpos + 8*(vst->cur_slice - vst->slices);
555 555
        pkt->pts = AV_NOPTS_VALUE;
556 556
        pkt->pos = vst->pktpos;
557 557
        return 0;

Also available in: Unified diff