提交 e07c92e4 编写于 作者: K Kostya Shishkov

cosmetics: insert space between codeword and left parenthesis

Originally committed as revision 20746 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 615c2879
......@@ -581,7 +581,7 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt)
if (pkt_id == 4)
rt->state = STATE_CONNECTING;
}
if(rt->state != STATE_CONNECTING)
if (rt->state != STATE_CONNECTING)
break;
case STATE_CONNECTING:
//extract a number from the result
......@@ -642,7 +642,7 @@ static int get_packet(URLContext *s, int for_header)
RTMPContext *rt = s->priv_data;
int ret;
for(;;) {
for (;;) {
RTMPPacket rpkt;
if ((ret = ff_rtmp_packet_read(rt->stream, &rpkt,
rt->chunk_size, rt->prev_pkt[0])) != 0) {
......@@ -702,7 +702,7 @@ static int rtmp_close(URLContext *h)
{
RTMPContext *rt = h->priv_data;
if(!rt->is_input) {
if (!rt->is_input) {
rt->flv_data = NULL;
if (rt->out_pkt.data_size)
ff_rtmp_packet_destroy(&rt->out_pkt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册