aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-12-25 17:13:05 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-12-25 17:13:05 +0000
commit0fb669ae9e72158980c58f827cea2b5fa284d102 (patch)
tree857a4954fad83b9004ffabb67f0cd6d056b9fce2
parent43a6ca2c3d2fd3ebd262e08b249e57d6f0902aba (diff)
downloadffmpeg-0fb669ae9e72158980c58f827cea2b5fa284d102.tar.gz
cosmetics: reindent
Originally committed as revision 20919 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/interplayvideo.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/interplayvideo.c b/libavcodec/interplayvideo.c
index d5b73a1163..fd5f44a5d0 100644
--- a/libavcodec/interplayvideo.c
+++ b/libavcodec/interplayvideo.c
@@ -77,11 +77,11 @@ typedef struct IpvideoContext {
} IpvideoContext;
#define CHECK_STREAM_PTR(n) \
- if (s->stream_end - s->stream_ptr < n) { \
- av_log(s->avctx, AV_LOG_ERROR, "Interplay video warning: stream_ptr out of bounds (%p >= %p)\n", \
- s->stream_ptr + n, s->stream_end); \
- return -1; \
- }
+ if (s->stream_end - s->stream_ptr < n) { \
+ av_log(s->avctx, AV_LOG_ERROR, "Interplay video warning: stream_ptr out of bounds (%p >= %p)\n", \
+ s->stream_ptr + n, s->stream_end); \
+ return -1; \
+ }
static int copy_from(IpvideoContext *s, AVFrame *src, int delta_x, int delta_y)
{
@@ -591,20 +591,20 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
opcode = get_bits(&gb, 4);
debug_interplay(" block @ (%3d, %3d): encoding 0x%X, data ptr @ %p\n",
- x - y, y / s->stride, opcode, s->stream_ptr);
+ x - y, y / s->stride, opcode, s->stream_ptr);
s->pixel_ptr = s->current_frame.data[0] + x;
ret = ipvideo_decode_block[opcode](s);
if (ret != 0) {
av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode problem on frame %d, @ block (%d, %d)\n",
- frame, x - y, y / s->stride);
+ frame, x - y, y / s->stride);
return;
}
}
}
if (s->stream_end - s->stream_ptr > 1) {
av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode finished with %td bytes left over\n",
- s->stream_end - s->stream_ptr);
+ s->stream_end - s->stream_ptr);
}
}