aboutsummaryrefslogtreecommitdiffstats
path: root/tests/seek_test.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-02-28 11:18:04 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-02-28 11:18:04 +0000
commitf2e033ac84f3259d4ebbdbb7159cbae237f504aa (patch)
tree87e74c92925b2faa22f570223aa23564f26d0e1f /tests/seek_test.c
parentf65919af7e15345fee3349ce5999b67781fa9373 (diff)
downloadffmpeg-f2e033ac84f3259d4ebbdbb7159cbae237f504aa.tar.gz
Free packets read in seek_test.
Originally committed as revision 22110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/seek_test.c')
-rw-r--r--tests/seek_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/seek_test.c b/tests/seek_test.c
index ac978baf48..81a7821261 100644
--- a/tests/seek_test.c
+++ b/tests/seek_test.c
@@ -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");