changeset 1769:1514fd5d434b libavcodec

watch those hard tabs
author melanson
date Sat, 31 Jan 2004 17:57:57 +0000
parents 45e99aa10395
children cd36e37fb879
files msrle.c msvideo1.c rpza.c smc.c
diffstat 4 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/msrle.c	Sat Jan 31 17:40:28 2004 +0000
+++ b/msrle.c	Sat Jan 31 17:57:57 2004 +0000
@@ -110,8 +110,8 @@
                 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 @@
 {
     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;
--- a/msvideo1.c	Sat Jan 31 17:40:28 2004 +0000
+++ b/msvideo1.c	Sat Jan 31 17:57:57 2004 +0000
@@ -303,15 +303,15 @@
 {
     Msvideo1Context *s = (Msvideo1Context *)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;
 
-	s->frame.reference = 1;
-	s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
+    s->frame.reference = 1;
+    s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
     if (avctx->reget_buffer(avctx, &s->frame)) {
         av_log(s->avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
         return -1;
--- a/rpza.c	Sat Jan 31 17:40:28 2004 +0000
+++ b/rpza.c	Sat Jan 31 17:57:57 2004 +0000
@@ -254,15 +254,15 @@
 {
     RpzaContext *s = (RpzaContext *)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;
 
     s->frame.reference = 1;
-	s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
+    s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE;
     if (avctx->reget_buffer(avctx, &s->frame)) {
         av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
         return -1;
--- a/smc.c	Sat Jan 31 17:40:28 2004 +0000
+++ b/smc.c	Sat Jan 31 17:57:57 2004 +0000
@@ -453,16 +453,16 @@
 {
     SmcContext *s = (SmcContext *)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;
 
     s->frame.reference = 1;
-	s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | 
-	                        FF_BUFFER_HINTS_REUSABLE | FF_BUFFER_HINTS_READABLE;
+    s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | 
+                            FF_BUFFER_HINTS_REUSABLE | FF_BUFFER_HINTS_READABLE;
     if (avctx->reget_buffer(avctx, &s->frame)) {
         printf ("reget_buffer() failed\n");
         return -1;