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

Unified Diff: source/patched-ffmpeg-mt/libavformat/rtpproto.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/rtpenc_xiph.c ('k') | source/patched-ffmpeg-mt/libavformat/rtsp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavformat/rtpproto.c
===================================================================
--- source/patched-ffmpeg-mt/libavformat/rtpproto.c (revision 59334)
+++ source/patched-ffmpeg-mt/libavformat/rtpproto.c (working copy)
@@ -285,7 +285,7 @@
int ret;
URLContext *hd;
- if (buf[1] >= 200 && buf[1] <= 204) {
+ if (buf[1] >= RTCP_SR && buf[1] <= RTCP_APP) {
/* RTCP payload type */
hd = s->rtcp_hd;
} else {
@@ -373,6 +373,11 @@
return s->rtp_fd;
}
+int rtp_get_rtcp_file_handle(URLContext *h) {
+ RTPContext *s = h->priv_data;
+ return s->rtcp_fd;
+}
+
URLProtocol rtp_protocol = {
"rtp",
rtp_open,
« no previous file with comments | « source/patched-ffmpeg-mt/libavformat/rtpenc_xiph.c ('k') | source/patched-ffmpeg-mt/libavformat/rtsp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698