Browse Source

small simplification

Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 18 years ago
parent
commit
98942fb2c9
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      libavcodec/allcodecs.c
  2. +2
    -2
      libavformat/allformats.c

+ 2
- 2
libavcodec/allcodecs.c View File

@@ -53,9 +53,9 @@
*/
void avcodec_register_all(void)
{
static int inited = 0;
static int inited;

if (inited != 0)
if (inited)
return;
inited = 1;



+ 2
- 2
libavformat/allformats.c View File

@@ -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;



Loading…
Cancel
Save