diff options
Diffstat (limited to 'libavformat/format.c')
-rw-r--r-- | libavformat/format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/format.c b/libavformat/format.c index bdc9044..c5a57d5 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -56,7 +56,7 @@ void av_register_input_format(AVInputFormat *format) { AVInputFormat **p = &first_iformat; - while (*p != NULL) + while (*p) p = &(*p)->next; *p = format; @@ -67,7 +67,7 @@ void av_register_output_format(AVOutputFormat *format) { AVOutputFormat **p = &first_oformat; - while (*p != NULL) + while (*p) p = &(*p)->next; *p = format; |