summaryrefslogtreecommitdiff
path: root/libavcodec/msrle.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-01-31 17:57:57 +0000
committerMike Melanson <mike@multimedia.cx>2004-01-31 17:57:57 +0000
commit155aa4174d3ed09b23012f6d6caf3509a93f485b (patch)
treea43c03f15cbfe90828f1556c1a610fdd4912fd4f /libavcodec/msrle.c
parentdf72754d03b164fa2ee2baafed248cffafcda5cc (diff)
downloadffmpeg-155aa4174d3ed09b23012f6d6caf3509a93f485b.tar.gz
watch those hard tabs
Originally committed as revision 2733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r--libavcodec/msrle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c
index 76649894aa..b318faa77f 100644
--- a/libavcodec/msrle.c
+++ b/libavcodec/msrle.c
@@ -110,8 +110,8 @@ static void msrle_decode_pal4(MsrleContext *s)
FETCH_NEXT_STREAM_BYTE();
s->frame.data[0][row_ptr + pixel_ptr] = stream_byte >> 4;
pixel_ptr++;
- if (i + 1 == rle_code && odd_pixel)
- break;
+ if (i + 1 == rle_code && odd_pixel)
+ break;
if (pixel_ptr >= s->avctx->width)
break;
s->frame.data[0][row_ptr + pixel_ptr] = stream_byte & 0x0F;
@@ -254,9 +254,9 @@ static int msrle_decode_frame(AVCodecContext *avctx,
{
MsrleContext *s = (MsrleContext *)avctx->priv_data;
- /* no supplementary picture */
- if (buf_size == 0)
- return 0;
+ /* no supplementary picture */
+ if (buf_size == 0)
+ return 0;
s->buf = buf;
s->size = buf_size;