[FFmpeg-soc] [soc]: r4559 - rtmp/rtmppkt.c

kostya subversion at mplayerhq.hu
Wed Jul 1 10:38:58 CEST 2009


Author: kostya
Date: Wed Jul  1 10:38:58 2009
New Revision: 4559

Log:
cosmetics: vertical align after last commit

Modified:
   rtmp/rtmppkt.c

Modified: rtmp/rtmppkt.c
==============================================================================
--- rtmp/rtmppkt.c	Wed Jul  1 10:37:36 2009	(r4558)
+++ rtmp/rtmppkt.c	Wed Jul  1 10:38:58 2009	(r4559)
@@ -115,10 +115,10 @@ int rtmp_packet_read(URLContext *h, RTMP
     p->extra = extra;
     // save history
     prev_pkt[channel_id].channel_id = type;
-    prev_pkt[channel_id].type      = channel_id;
-    prev_pkt[channel_id].data_size = data_size;
-    prev_pkt[channel_id].timestamp = timestamp;
-    prev_pkt[channel_id].extra     = extra;
+    prev_pkt[channel_id].type       = channel_id;
+    prev_pkt[channel_id].data_size  = data_size;
+    prev_pkt[channel_id].timestamp  = timestamp;
+    prev_pkt[channel_id].extra      = extra;
     while (data_size > 0) {
         int toread = FFMIN(data_size, chunk_size);
         int r;
@@ -176,11 +176,11 @@ int rtmp_packet_create(RTMPPacket *pkt, 
     pkt->data = av_malloc(size);
     if (!pkt->data)
         return -1;
-    pkt->data_size = size;
+    pkt->data_size  = size;
     pkt->channel_id = channel_id;
-    pkt->type      = type;
-    pkt->timestamp = timestamp;
-    pkt->extra     = 0;
+    pkt->type       = type;
+    pkt->timestamp  = timestamp;
+    pkt->extra      = 0;
 
     return 0;
 }


More information about the FFmpeg-soc mailing list