Commit f21c263c authored by kyh96403's avatar kyh96403 Committed by Michael Niedermayer

avformat/rtmppkt: Fix random crash

Fixes Ticket3564
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1ba59b1c
......@@ -273,6 +273,7 @@ static int rtmp_packet_read_one_chunk(URLContext *h, RTMPPacket *p,
prev->data = p->data;
prev->read = p->read;
prev->offset = p->offset;
p->data = NULL;
return AVERROR(EAGAIN);
}
......
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