Commit b7cbe8f1 authored by aurel's avatar aurel

small simplification

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10783 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a3f24b84
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment