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

kostya subversion at mplayerhq.hu
Wed Jul 22 08:09:26 CEST 2009


Author: kostya
Date: Wed Jul 22 08:09:26 2009
New Revision: 4760

Log:
Replace unused commented code with TODO

Modified:
   rtmp/rtmppkt.c

Modified: rtmp/rtmppkt.c
==============================================================================
--- rtmp/rtmppkt.c	Wed Jul 22 08:08:13 2009	(r4759)
+++ rtmp/rtmppkt.c	Wed Jul 22 08:09:26 2009	(r4760)
@@ -126,8 +126,7 @@ int ff_rtmp_packet_write(URLContext *h, 
     int mode = RTMP_PS_TWELVEBYTES;
     int off = 0;
 
-//    if (pkt->type != RTMP_PT_INVOKE)
-//        mode = RTMP_PS_EIGHTBYTES;
+    //TODO: header compression
     bytestream_put_byte(&p, pkt->channel_id | (mode << 6));
     if (mode != RTMP_PS_ONEBYTE) {
         bytestream_put_be24(&p, pkt->timestamp);


More information about the FFmpeg-soc mailing list