[FFmpeg-cvslog] r25327 - trunk/libavformat/rtpdec_svq3.c

mstorsjo subversion
Sun Oct 3 20:55:47 CEST 2010


Author: mstorsjo
Date: Sun Oct  3 20:55:46 2010
New Revision: 25327

Log:
rtpdec_svq3: Don't look for the unused RTP_FLAG_KEY flag

Modified:
   trunk/libavformat/rtpdec_svq3.c

Modified: trunk/libavformat/rtpdec_svq3.c
==============================================================================
--- trunk/libavformat/rtpdec_svq3.c	Sun Oct  3 19:15:18 2010	(r25326)
+++ trunk/libavformat/rtpdec_svq3.c	Sun Oct  3 20:55:46 2010	(r25327)
@@ -35,7 +35,6 @@
 struct PayloadContext {
     ByteIOContext *pktbuf;
     int64_t        timestamp;
-    int            is_keyframe;
 };
 
 /** return 0 on packet, <0 on partial packet or error... */
@@ -90,7 +89,6 @@ static int svq3_parse_packet (AVFormatCo
         if ((res = url_open_dyn_buf(&sv->pktbuf)) < 0)
             return res;
         sv->timestamp   = *timestamp;
-        sv->is_keyframe = flags & RTP_FLAG_KEY;
     }
 
     if (!sv->pktbuf)
@@ -102,7 +100,6 @@ static int svq3_parse_packet (AVFormatCo
         av_init_packet(pkt);
         pkt->stream_index = st->index;
         *timestamp        = sv->timestamp;
-        pkt->flags        = sv->is_keyframe ? AV_PKT_FLAG_KEY : 0;
         pkt->size         = url_close_dyn_buf(sv->pktbuf, &pkt->data);
         pkt->destruct     = av_destruct_packet;
         sv->pktbuf        = NULL;



More information about the ffmpeg-cvslog mailing list