X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fexamples%2Fencode_audio.c;h=ab3586be7fd6eb4814958c4fa3e3d878d140b9c8;hb=10bcc41bb40ba479bfc5ad29b1650a6b335437a8;hp=d1ef105d9dabdf8c01c430a79de3d0cb0eb56d49;hpb=48e4eda11d537c6ed52d1000aaa6ce5cbb641e25;p=ffmpeg diff --git a/doc/examples/encode_audio.c b/doc/examples/encode_audio.c index d1ef105d9da..ab3586be7fd 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) {