summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index d72a127612..fe5f582eb4 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -45,8 +45,7 @@
{ \
extern URLProtocol ff_##x##_protocol; \
if (CONFIG_##X##_PROTOCOL) \
- ffurl_register_protocol(&ff_##x##_protocol, \
- sizeof(ff_##x##_protocol)); \
+ ffurl_register_protocol(&ff_##x##_protocol); \
}
void av_register_all(void)