diff options
author | kyh96403 <kyh96403@hanmail.net> | 2014-04-16 10:01:34 +0900 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-23 15:10:42 +0200 |
commit | f21c263c8979aa8a71c1c10909efb991679045c1 (patch) | |
tree | 5cf2e22c904f177d2d51f7f9854aca4f8da83d74 | |
parent | 1ba59b1cbeafe7cd28db04f772abd89eb7e4ce1e (diff) | |
download | ffmpeg-f21c263c8979aa8a71c1c10909efb991679045c1.tar.gz |
avformat/rtmppkt: Fix random crash
Fixes Ticket3564
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtmppkt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index cbd09f23be..65d5dd9d57 100644 --- a/libavformat/rtmppkt.c +++ b/libavformat/rtmppkt.c @@ -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); } |