Skip to content
Snippets Groups Projects
Commit 98942fb2 authored by Aurelien Jacobs's avatar Aurelien Jacobs
Browse files

small simplification

Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bbfc038f
No related branches found
No related tags found
No related merge requests found
......@@ -53,9 +53,9 @@
*/
void avcodec_register_all(void)
{
static int inited = 0;
static int inited;
if (inited != 0)
if (inited)
return;
inited = 1;
......
......@@ -43,9 +43,9 @@ void av_register_rtp_dynamic_payload_handlers(void);
*/
void av_register_all(void)
{
static int inited = 0;
static int inited;
if (inited != 0)
if (inited)
return;
inited = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment