Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: patched-ffmpeg-mt/libavformat/rtpenc.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: patched-ffmpeg-mt/libavformat/rtpenc.c
===================================================================
--- patched-ffmpeg-mt/libavformat/rtpenc.c (revision 41250)
+++ patched-ffmpeg-mt/libavformat/rtpenc.c (working copy)
@@ -91,7 +91,7 @@
s->cur_timestamp = 0;
s->ssrc = 0; /* FIXME: was random(), what should this be? */
s->first_packet = 1;
- s->first_rtcp_ntp_time = AV_NOPTS_VALUE;
+ s->first_rtcp_ntp_time = ntp_time();
max_packet_size = url_fget_max_packet_size(s1->pb);
if (max_packet_size <= 12)
@@ -171,7 +171,6 @@
dprintf(s1, "RTCP: %02x %"PRIx64" %x\n", s->payload_type, ntp_time, s->timestamp);
- if (s->first_rtcp_ntp_time == AV_NOPTS_VALUE) s->first_rtcp_ntp_time = ntp_time;
s->last_rtcp_ntp_time = ntp_time;
rtp_ts = av_rescale_q(ntp_time - s->first_rtcp_ntp_time, (AVRational){1, 1000000},
s1->streams[0]->time_base) + s->base_timestamp;

Powered by Google App Engine
This is Rietveld 408576698