diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-01-03 13:25:25 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-01-04 15:05:49 +0100 |
commit | 00a1cdd2645992c084a6c71746b04babb7cae364 (patch) | |
tree | b57f52aaa21cfe69cfeca081cc4c5c2a001a9599 /libpostproc | |
parent | a6a4793d045cda277f0ec4579d206b36e3cf90b6 (diff) | |
download | ffmpeg-00a1cdd2645992c084a6c71746b04babb7cae364.tar.gz |
Place some START_TIMER invocations in separate blocks.
This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement. START_TIMER declares variables and thus
may not be placed after statements outside of a new block.
Diffstat (limited to 'libpostproc')
-rw-r--r-- | libpostproc/postprocess_template.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index f1122e5ba0..a609ce8121 100644 --- a/libpostproc/postprocess_template.c +++ b/libpostproc/postprocess_template.c @@ -2472,7 +2472,7 @@ static av_always_inline void RENAME(do_a_deblock)(uint8_t *src, int step, int st int64_t dc_mask, eq_mask, both_masks; int64_t sums[10*8*2]; src+= step*3; // src points to begin of the 8x8 Block -//START_TIMER + //{ START_TIMER __asm__ volatile( "movq %0, %%mm7 \n\t" "movq %1, %%mm6 \n\t" @@ -2998,7 +2998,8 @@ static av_always_inline void RENAME(do_a_deblock)(uint8_t *src, int step, int st STOP_TIMER("step16") }else{ STOP_TIMER("stepX") -}*/ +} + } */ } #endif //HAVE_MMX |