[avbin commit] r53 - trunk/src

0 views
Skip to first unread message

codesite...@google.com

unread,
Dec 18, 2008, 11:16:28 PM12/18/08
to avbin-...@googlegroups.com
Author: Alex.Holkner
Date: Thu Dec 18 20:07:59 2008
New Revision: 53

Modified:
trunk/src/avbin.c

Log:
Free file and stream after closing.

Modified: trunk/src/avbin.c
==============================================================================
--- trunk/src/avbin.c (original)
+++ trunk/src/avbin.c Thu Dec 18 20:07:59 2008
@@ -143,6 +143,7 @@
free(file->packet);
}
av_close_input_file(file->context);
+ free(file);
}

AVbinResult avbin_seek_file(AVbinFile *file, AVbinTimestamp timestamp)
@@ -286,6 +287,7 @@
if (stream->frame)
av_free(stream->frame);
avcodec_close(stream->codec_context);
+ free(stream);
}

int avbin_read(AVbinFile *file, AVbinPacket *packet)

Reply all
Reply to author
Forward
0 new messages