[FFmpeg-cvslog] r22110 - trunk/tests/seek_test.c

reimar subversion
Sun Feb 28 12:18:05 CET 2010


Author: reimar
Date: Sun Feb 28 12:18:04 2010
New Revision: 22110

Log:
Free packets read in seek_test.

Modified:
   trunk/tests/seek_test.c

Modified: trunk/tests/seek_test.c
==============================================================================
--- trunk/tests/seek_test.c	Sun Feb 28 12:03:14 2010	(r22109)
+++ trunk/tests/seek_test.c	Sun Feb 28 12:18:04 2010	(r22110)
@@ -105,6 +105,7 @@ int main(int argc, char **argv)
                 ts_str(dts_buf, pkt.dts, st->time_base);
                 ts_str(ts_buf,  pkt.pts, st->time_base);
                 printf("ret:%-10s st:%2d flags:%d dts:%s pts:%s pos:%7" PRId64 " size:%6d", ret_str(ret), pkt.stream_index, pkt.flags, dts_buf, ts_buf, pkt.pos, pkt.size);
+                av_free_packet(&pkt);
             } else
                 printf("ret:%s", ret_str(ret)); // necessary to avoid trailing whitespace
             printf("\n");



More information about the ffmpeg-cvslog mailing list