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

kostya subversion at mplayerhq.hu
Wed Jul 22 07:25:59 CEST 2009


Author: kostya
Date: Wed Jul 22 07:25:59 2009
New Revision: 4745

Log:
10l: two fields were swapped on saving history

Modified:
   rtmp/rtmppkt.c

Modified: rtmp/rtmppkt.c
==============================================================================
--- rtmp/rtmppkt.c	Wed Jul 22 07:23:53 2009	(r4744)
+++ rtmp/rtmppkt.c	Wed Jul 22 07:25:59 2009	(r4745)
@@ -99,8 +99,8 @@ int rtmp_packet_read(URLContext *h, RTMP
     rtmp_packet_create(p, channel_id, type, timestamp, data_size);
     p->extra = extra;
     // save history
-    prev_pkt[channel_id].channel_id = type;
-    prev_pkt[channel_id].type       = channel_id;
+    prev_pkt[channel_id].channel_id = channel_id;
+    prev_pkt[channel_id].type       = type;
     prev_pkt[channel_id].data_size  = data_size;
     prev_pkt[channel_id].timestamp  = timestamp;
     prev_pkt[channel_id].extra      = extra;


More information about the FFmpeg-soc mailing list