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
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) {
{
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);