OSDN Git Service

Make register_protocol() use the function av_register_protocol2()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 30 Sep 2010 10:51:22 +0000 (10:51 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 30 Sep 2010 10:51:22 +0000 (10:51 +0000)
commit0a216bd1dd6ac32aa91044e54ea15b43e9db7985
treebfd6da320575d7b7668006bd285bb4e0c1a51d0b
parent0093ebc20aeee6d184aff047d30d93b63186330b
Make register_protocol() use the function av_register_protocol2()
rather than av_register_protocol(), which is deprecated.
Fix the GCC warning:
avio.c: In function ‘register_protocol’:
avio.c:93: warning: ‘av_register_protocol’ is deprecated (declared at avio.c:86)

Originally committed as revision 25267 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avio.c