Commit 645aba75 authored by rbultje's avatar rbultje

Remove useless "else" case in if X { A; return }; else { B }. See discussion

in "Realmedia patch" thread on mailinglist.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15142 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f0cc7906
......@@ -1343,10 +1343,9 @@ static int rtsp_read_play(AVFormatContext *s)
rtsp_send_cmd(s, cmd, reply, NULL);
if (reply->status_code != RTSP_STATUS_OK) {
return -1;
} else {
}
rt->state = RTSP_STATE_PLAYING;
return 0;
}
}
/* pause the stream */
......@@ -1367,10 +1366,9 @@ static int rtsp_read_pause(AVFormatContext *s)
rtsp_send_cmd(s, cmd, reply, NULL);
if (reply->status_code != RTSP_STATUS_OK) {
return -1;
} else {
}
rt->state = RTSP_STATE_PAUSED;
return 0;
}
}
static int rtsp_read_seek(AVFormatContext *s, int stream_index,
......
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