[FFmpeg-cvslog] rtmp: Reindent

Martin Storsjö git at videolan.org
Thu May 26 03:32:24 CEST 2011


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed May 25 22:01:15 2011 +0300| [48b1fb1397281dd16df909b6f33c2c36e5626f0a] | committer: Martin Storsjö

rtmp: Reindent

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=48b1fb1397281dd16df909b6f33c2c36e5626f0a
---

 libavformat/rtmppkt.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c
index 93790eb..35ef7fd 100644
--- a/libavformat/rtmppkt.c
+++ b/libavformat/rtmppkt.c
@@ -234,9 +234,9 @@ int ff_rtmp_packet_create(RTMPPacket *pkt, int channel_id, RTMPPacketType type,
                           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;



More information about the ffmpeg-cvslog mailing list