You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/rtmppkt: Fix random crash
Fixes Ticket3564 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user