Ticket #11329: mythtv-ffmpeg-leak.patch
| File mythtv-ffmpeg-leak.patch, 565 bytes (added by , 14 years ago) |
|---|
-
mythtv/external/FFmpeg/libavformat/utils.c
diff --git a/mythtv/external/FFmpeg/libavformat/utils.c b/mythtv/external/FFmpeg/libavformat/utils.c index 93cf637..9cf66e1 100644
a b int ff_read_packet(AVFormatContext *s, AVPacket *pkt) 709 709 } 710 710 } 711 711 712 av_new_packet(pkt, 0); 712 pkt->data = NULL; 713 pkt->size = 0; 714 av_init_packet(pkt); 713 715 ret= s->iformat->read_packet(s, pkt); 714 716 if (ret < 0) { 715 717 if (!pktl || ret == AVERROR(EAGAIN))
