projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cosmetics: K&R coding style, prettyprinting
[libav.git]
/
tools
/
pktdumper.c
diff --git
a/tools/pktdumper.c
b/tools/pktdumper.c
index
781a3c2
..
f7ac83d
100644
(file)
--- a/
tools/pktdumper.c
+++ b/
tools/pktdumper.c
@@
-107,11
+107,14
@@
int main(int argc, char **argv)
write(fd, pkt.data, pkt.size);
close(fd);
}
+ av_free_packet(&pkt);
pktnum++;
if (maxpkts && (pktnum >= maxpkts))
break;
}
+ av_close_input_file(fctx);
+
while (donotquit)
sleep(60);