diff options
author | Martin Storsjö <martin@martin.st> | 2010-10-03 18:55:46 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-10-03 18:55:46 +0000 |
commit | 7fe3c270c01cbe51e5c41f936c57e6f810eb0441 (patch) | |
tree | 1ca908a96cda67fd80bd73d5fd00c144c7e5fdb4 /libavformat | |
parent | 4c74d1660cd8224948a2f995e773da47e5fe0fe2 (diff) | |
download | ffmpeg-7fe3c270c01cbe51e5c41f936c57e6f810eb0441.tar.gz |
rtpdec_svq3: Don't look for the unused RTP_FLAG_KEY flag
Originally committed as revision 25327 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec_svq3.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rtpdec_svq3.c b/libavformat/rtpdec_svq3.c index d0c298fb59..06a1ddbc3f 100644 --- a/libavformat/rtpdec_svq3.c +++ b/libavformat/rtpdec_svq3.c @@ -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 (AVFormatContext *s, PayloadContext *sv, 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 (AVFormatContext *s, PayloadContext *sv, 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; |