aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-01-24 12:17:40 +0100
committerStefano Sabatini <stefasab@gmail.com>2014-01-24 12:20:46 +0100
commitca57659440fce99d4cac0e647b6e466edd56598c (patch)
treeb275c059e962c1035ee4467f1430215bb34e508d
parent433b153b681db591a8653f5d11a4fa62276e2a71 (diff)
downloadffmpeg-ca57659440fce99d4cac0e647b6e466edd56598c.tar.gz
examples/filtering_audio,video: do not call avcodec_register_all()
It is implied by av_register_all(). Simplify.
-rw-r--r--doc/examples/filtering_audio.c1
-rw-r--r--doc/examples/filtering_video.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 1568f60b29..2ceee6af1e 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -210,7 +210,6 @@ int main(int argc, char **argv)
exit(1);
}
- avcodec_register_all();
av_register_all();
avfilter_register_all();
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c
index 0ac1cd479b..67c8a8bc10 100644
--- a/doc/examples/filtering_video.c
+++ b/doc/examples/filtering_video.c
@@ -200,7 +200,6 @@ int main(int argc, char **argv)
exit(1);
}
- avcodec_register_all();
av_register_all();
avfilter_register_all();