diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pktdumper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/pktdumper.c b/tools/pktdumper.c index 781a3c24fc..f7ac83d5f6 100644 --- 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); |