summaryrefslogtreecommitdiff
path: root/tools/pktdumper.c
diff options
context:
space:
mode:
authorJosh de Kock <josh@itanimul.li>2018-02-18 17:54:23 +0000
committerJosh de Kock <josh@itanimul.li>2018-04-02 03:26:22 +0100
commit89029bd2c7f385c078fba8f2a8c19229833caa13 (patch)
tree84e5ff213ed973be36026109e115831d38b10ff4 /tools/pktdumper.c
parentd1221f335183a07dae761551188677551e5ba792 (diff)
lav*,tests: remove several register_all calls
avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack). Signed-off-by: Josh de Kock <josh@itanimul.li>
Diffstat (limited to 'tools/pktdumper.c')
-rw-r--r--tools/pktdumper.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/pktdumper.c b/tools/pktdumper.c
index 6516ad3a22..16a965b756 100644
--- a/tools/pktdumper.c
+++ b/tools/pktdumper.c
@@ -89,9 +89,6 @@ int main(int argc, char **argv)
strcat(fntemplate, PKTFILESUFF);
printf("FNTEMPLATE: '%s'\n", fntemplate);
- // register all file formats
- av_register_all();
-
err = avformat_open_input(&fctx, argv[1], NULL, NULL);
if (err < 0) {
fprintf(stderr, "cannot open input: error %d\n", err);