Commit c308f327 authored by kostya's avatar kostya

Accept RTMP packets with one-byte header

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20269 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b471e9d8
......@@ -87,8 +87,7 @@ int ff_rtmp_packet_read(URLContext *h, RTMPPacket *p,
hdr >>= 6;
if (hdr == RTMP_PS_ONEBYTE) {
//todo
return -1;
timestamp = prev_pkt[channel_id].timestamp;
} else {
if (url_read_complete(h, buf, 3) != 3)
return AVERROR(EIO);
......
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