[SCM] libav/experimental: Fix indention which was off by 1 space.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:34:31 UTC 2013


The following commit has been merged in the experimental branch:
commit 188e67eaf426fecfb28596e8bf529ef01f48a15c
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed Dec 31 01:54:54 2008 +0000

    Fix indention which was off by 1 space.
    
    Originally committed as revision 16403 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index a6b95a1..469b0f5 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list