Ticket #3564: rtmppkt.diff
| File rtmppkt.diff, 495 bytes (added by , 12 years ago) |
|---|
-
libavformat/rtmppkt.c
libavformat/rtmppkt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index cbd09f2..15eece3 100644
a b static int rtmp_packet_read_one_chunk(URLContext *h, RTMPPacket *p, 273 273 prev->data = p->data; 274 274 prev->read = p->read; 275 275 prev->offset = p->offset; 276 // added by K.Y.H for fix crash.... 277 p->data = NULL; 276 278 return AVERROR(EAGAIN); 277 279 } 278 280
