summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/allformats.c2
-rw-r--r--libavformat/avformat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index e6aaf8fe59..1eaab3ce99 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -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 --git a/libavformat/avformat.h b/libavformat/avformat.h
index d107fafa8d..5d61353455 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -776,7 +776,7 @@ void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload);
*
* @see av_register_input_format()
* @see av_register_output_format()
- * @see register_protocol()
+ * @see av_register_protocol()
*/
void av_register_all(void);