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

Side by Side Diff: patched-ffmpeg-mt/libavformat/sdp.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * copyright (c) 2007 Luca Abeni 2 * copyright (c) 2007 Luca Abeni
3 * 3 *
4 * This file is part of FFmpeg. 4 * This file is part of FFmpeg.
5 * 5 *
6 * FFmpeg is free software; you can redistribute it and/or 6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public 7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version. 9 * version 2.1 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 { 102 {
103 } 103 }
104 #endif 104 #endif
105 105
106 static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url) 106 static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url)
107 { 107 {
108 int port; 108 int port;
109 const char *p; 109 const char *p;
110 char proto[32]; 110 char proto[32];
111 111
112 url_split(proto, sizeof(proto), NULL, 0, dest_addr, size, &port, NULL, 0, ur l); 112 ff_url_split(proto, sizeof(proto), NULL, 0, dest_addr, size, &port, NULL, 0, url);
113 113
114 *ttl = 0; 114 *ttl = 0;
115 115
116 if (strcmp(proto, "rtp")) { 116 if (strcmp(proto, "rtp")) {
117 /* The url isn't for the actual rtp sessions, 117 /* The url isn't for the actual rtp sessions,
118 * don't parse out anything else than the destination. 118 * don't parse out anything else than the destination.
119 */ 119 */
120 return 0; 120 return 0;
121 } 121 }
122 122
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 } 363 }
364 364
365 return 0; 365 return 0;
366 } 366 }
367 #else 367 #else
368 int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size) 368 int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size)
369 { 369 {
370 return AVERROR(ENOSYS); 370 return AVERROR(ENOSYS);
371 } 371 }
372 #endif 372 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698