rtmp: Display a verbose message when an unknown packet type is received

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/59/head
Samuel Pitoiset 13 years ago committed by Martin Storsjö
parent 9cdf74f904
commit 9ff930aace
  1. 3
      libavformat/rtmpproto.c

@ -937,6 +937,9 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt)
return ret;
}
break;
default:
av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", pkt->type);
break;
}
return 0;
}

Loading…
Cancel
Save