summaryrefslogtreecommitdiff
path: root/libavcodec/indeo5.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-03 13:25:25 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-04 15:05:49 +0100
commit00a1cdd2645992c084a6c71746b04babb7cae364 (patch)
treeb57f52aaa21cfe69cfeca081cc4c5c2a001a9599 /libavcodec/indeo5.c
parenta6a4793d045cda277f0ec4579d206b36e3cf90b6 (diff)
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 'libavcodec/indeo5.c')
-rw-r--r--libavcodec/indeo5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c
index 8b72b1f0c2..019fa2b8da 100644
--- a/libavcodec/indeo5.c
+++ b/libavcodec/indeo5.c
@@ -757,7 +757,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
switch_buffers(ctx);
- //START_TIMER;
+ //{ START_TIMER;
if (ctx->frame_type != FRAMETYPE_NULL) {
for (p = 0; p < 3; p++) {
@@ -772,7 +772,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
}
}
- //STOP_TIMER("decode_planes");
+ //STOP_TIMER("decode_planes"); }
if (ctx->frame.data[0])
avctx->release_buffer(avctx, &ctx->frame);