mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
avformat/rtmppkt: Fix random crash
Fixes Ticket3564 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1ba59b1cbe
commit
f21c263c89
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user