# HG changeset patch # User stefano # Date 1234708163 0 # Node ID 26982fb2d5103561e03e0c0760f33a9979b79b32 # Parent 724c0f6a52dc0302baf25ca9f621dc528757b885 Replace calls/references of the deprecated register_protocol() function with correponding calls/references to av_register_protocol(). diff -r 724c0f6a52dc -r 26982fb2d510 allformats.c --- a/allformats.c Sun Feb 15 14:25:23 2009 +0000 +++ b/allformats.c Sun Feb 15 14:29:23 2009 +0000 @@ -34,7 +34,7 @@ #define REGISTER_PROTOCOL(X,x) { \ extern URLProtocol x##_protocol; \ - if(CONFIG_##X##_PROTOCOL) register_protocol(&x##_protocol); } + if(CONFIG_##X##_PROTOCOL) av_register_protocol(&x##_protocol); } void av_register_all(void) { diff -r 724c0f6a52dc -r 26982fb2d510 avformat.h --- a/avformat.h Sun Feb 15 14:25:23 2009 +0000 +++ b/avformat.h Sun Feb 15 14:29:23 2009 +0000 @@ -776,7 +776,7 @@ * * @see av_register_input_format() * @see av_register_output_format() - * @see register_protocol() + * @see av_register_protocol() */ void av_register_all(void);