[SCM] libav/experimental: reindent

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:35:02 UTC 2013


The following commit has been merged in the experimental branch:
commit 2ba0470e819ed4022f260d41e018f7754565db7a
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Sun Jan 11 05:23:46 2009 +0000

    reindent
    
    Originally committed as revision 16527 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index b3cce3a..89a827f 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -343,10 +343,10 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
     if (enc->codec_id == CODEC_ID_H264) {
         /* check if extradata looks like mp4 formated */
         if (enc->extradata_size > 0 && *(uint8_t*)enc->extradata != 1) {
-        if (ff_avc_parse_nal_units(pkt->data, &pkt->data, &pkt->size) < 0)
-            return -1;
-        assert(pkt->size);
-        size = pkt->size;
+            if (ff_avc_parse_nal_units(pkt->data, &pkt->data, &pkt->size) < 0)
+                return -1;
+            assert(pkt->size);
+            size = pkt->size;
         }
         /* cast needed to get negative value */
         if (!flv->delay && pkt->dts < 0)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list