summaryrefslogtreecommitdiff
path: root/doc/examples/encode_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/encode_audio.c')
-rw-r--r--doc/examples/encode_audio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/examples/encode_audio.c b/doc/examples/encode_audio.c
index d1ef105d9d..ab3586be7f 100644
--- a/doc/examples/encode_audio.c
+++ b/doc/examples/encode_audio.c
@@ -138,9 +138,6 @@ int main(int argc, char **argv)
}
filename = argv[1];
- /* register all the codecs */
- avcodec_register_all();
-
/* find the MP2 encoder */
codec = avcodec_find_encoder(AV_CODEC_ID_MP2);
if (!codec) {