diff options
author | Dmitry Kovalev <dkovalev@google.com> | 2013-03-05 14:12:16 -0800 |
---|---|---|
committer | Dmitry Kovalev <dkovalev@google.com> | 2013-03-05 14:12:16 -0800 |
commit | 7f99c3c59a446145a08c5d66f8f7af908535e8c0 (patch) | |
tree | 3981ac699ca4d7c787b198eaea03e2a19e59170b /vp9/decoder/vp9_onyxd_if.c | |
parent | 764be4f66fc3928ec668f8faccef1705049ff5a5 (diff) | |
download | libvpx-7f99c3c59a446145a08c5d66f8f7af908535e8c0.tar libvpx-7f99c3c59a446145a08c5d66f8f7af908535e8c0.tar.gz libvpx-7f99c3c59a446145a08c5d66f8f7af908535e8c0.tar.bz2 libvpx-7f99c3c59a446145a08c5d66f8f7af908535e8c0.zip |
Code cleanup.
Removing redundant 'extern' keywords, fixing formatting and #include order,
code simplification.
Change-Id: I0e5fdc8009010f3f885f13b5d76859b9da511758
Diffstat (limited to 'vp9/decoder/vp9_onyxd_if.c')
-rw-r--r-- | vp9/decoder/vp9_onyxd_if.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vp9/decoder/vp9_onyxd_if.c b/vp9/decoder/vp9_onyxd_if.c index ce7958c3b..87d1d3b98 100644 --- a/vp9/decoder/vp9_onyxd_if.c +++ b/vp9/decoder/vp9_onyxd_if.c @@ -9,6 +9,9 @@ */ +#include <stdio.h> +#include <assert.h> + #include "vp9/common/vp9_onyxc_int.h" #if CONFIG_POSTPROC #include "vp9/common/vp9_postproc.h" @@ -19,8 +22,6 @@ #include "vp9/common/vp9_alloccommon.h" #include "vp9/common/vp9_loopfilter.h" #include "vp9/common/vp9_swapyv12buffer.h" -#include <stdio.h> -#include <assert.h> #include "vp9/common/vp9_quant_common.h" #include "vpx_scale/vpx_scale.h" @@ -99,7 +100,7 @@ void write_dx_frame_to_file(YV12_BUFFER_CONFIG *frame, int this_frame) { } #endif -void vp9_initialize_dec(void) { +void vp9_initialize_dec() { static int init_done = 0; if (!init_done) { |