Commit c75b551f authored by Simon Morlat's avatar Simon Morlat
Browse files

fix compilation warning

parent 07eeb876
...@@ -42,7 +42,8 @@ static void usage(const char *prog){ ...@@ -42,7 +42,8 @@ static void usage(const char *prog){
typedef enum { typedef enum {
PLAY_MODE, PLAY_MODE,
RECORD_MODE RECORD_MODE,
INVALID_MODE
}Mode; }Mode;
/*the payload type number we're using here in the RTP packets sent and received*/ /*the payload type number we're using here in the RTP packets sent and received*/
...@@ -72,7 +73,7 @@ int main(int argc, char *argv[]){ ...@@ -72,7 +73,7 @@ int main(int argc, char *argv[]){
VideoStream *stream; VideoStream *stream;
RtpProfile *profile; RtpProfile *profile;
PayloadType *pt; PayloadType *pt;
Mode mode; Mode mode = INVALID_MODE;
int local_port = 7778; int local_port = 7778;
MSMediaStreamIO io = MS_MEDIA_STREAM_IO_INITIALIZER; MSMediaStreamIO io = MS_MEDIA_STREAM_IO_INITIALIZER;
int err; int err;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment