rtmp: Reindent
authorMartin Storsjö <martin@martin.st>
Wed, 25 May 2011 19:01:15 +0000 (22:01 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 25 May 2011 19:01:21 +0000 (22:01 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmppkt.c

index 93790eb..35ef7fd 100644 (file)
@@ -234,9 +234,9 @@ int ff_rtmp_packet_create(RTMPPacket *pkt, int channel_id, RTMPPacketType type,
                           int timestamp, int size)
 {
     if (size) {
                           int timestamp, int size)
 {
     if (size) {
-    pkt->data = av_malloc(size);
-    if (!pkt->data)
-        return AVERROR(ENOMEM);
+        pkt->data = av_malloc(size);
+        if (!pkt->data)
+            return AVERROR(ENOMEM);
     }
     pkt->data_size  = size;
     pkt->channel_id = channel_id;
     }
     pkt->data_size  = size;
     pkt->channel_id = channel_id;