aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-18 21:03:10 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-18 21:03:10 +0000
commit98942fb2c98e26a162623c31c8bf00e04012fdd2 (patch)
tree657944f3e65b6895e59b057c0a35b723a82c076e /libavformat
parentbbfc038f09ff23cfef620353565fe2ebf4b91ca0 (diff)
downloadffmpeg-98942fb2c98e26a162623c31c8bf00e04012fdd2.tar.gz
small simplification
Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/allformats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index 515e6f41c0..ad2d30aad2 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -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;