mirror of https://git.ffmpeg.org/ffmpeg.git
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