aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-12 15:01:05 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-12 15:01:05 +0000
commitd100c41da0ca020eb11958bef5bb5e188de5c029 (patch)
treefcf415d6725b2497e2f184ecda665a05081a12be
parent574edcc73701bf7523fe83f8f2ad41d3a01a0681 (diff)
Cosmetics: get rid of huge amounts of trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25694 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/vd_ijpg.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/libmpcodecs/vd_ijpg.c b/libmpcodecs/vd_ijpg.c
index 5ba2401fe0..bcdec4b00e 100644
--- a/libmpcodecs/vd_ijpg.c
+++ b/libmpcodecs/vd_ijpg.c
@@ -62,15 +62,15 @@ METHODDEF(void) init_source (j_decompress_ptr cinfo)
METHODDEF(boolean) fill_input_buffer (j_decompress_ptr cinfo)
{
- my_src_ptr src = (my_src_ptr) cinfo->src;
+ my_src_ptr src = (my_src_ptr) cinfo->src;
src->pub.next_input_byte = src->inbuf;
src->pub.bytes_in_buffer = src->bufsize;
return TRUE;
}
-
-METHODDEF(void) skip_input_data (j_decompress_ptr cinfo, long num_bytes)
-{
- my_src_ptr src = (my_src_ptr) cinfo->src;
+
+METHODDEF(void) skip_input_data (j_decompress_ptr cinfo, long num_bytes)
+{
+ my_src_ptr src = (my_src_ptr) cinfo->src;
if (num_bytes > 0)
{
@@ -84,9 +84,9 @@ METHODDEF(void) skip_input_data (j_decompress_ptr cinfo, long num_bytes)
}
}
-METHODDEF(void) term_source (j_decompress_ptr cinfo) { }
-
-GLOBAL(void) jpeg_buf_src ( j_decompress_ptr cinfo, char * inbuf,int bufsize )
+METHODDEF(void) term_source (j_decompress_ptr cinfo) { }
+
+GLOBAL(void) jpeg_buf_src ( j_decompress_ptr cinfo, char * inbuf,int bufsize )
{
my_src_ptr src;
if (cinfo->src == NULL) cinfo->src=malloc( sizeof( my_source_mgr ) );
@@ -137,7 +137,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
mp_msg( MSGT_DECVIDEO,MSGL_ERR,"[ijpg] setjmp error ...\n" );
return NULL;
}
-
+
jpeg_create_decompress( &cinfo );
jpeg_buf_src( &cinfo,data,len );
jpeg_read_header( &cinfo,TRUE );
@@ -203,9 +203,9 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
}
}
}
-
- jpeg_finish_decompress(&cinfo);
- jpeg_destroy_decompress(&cinfo);
-
+
+ jpeg_finish_decompress(&cinfo);
+ jpeg_destroy_decompress(&cinfo);
+
return mpi;
}