Mercurial > mplayer.hg
changeset 25666:79fee31fb216
Cosmetics: get rid of huge amounts of trailing whitespace
author | reimar |
---|---|
date | Sat, 12 Jan 2008 15:01:05 +0000 |
parents | b4dbc6ce32b5 |
children | a9fd64f3d166 |
files | libmpcodecs/vd_ijpg.c |
diffstat | 1 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ijpg.c Sat Jan 12 14:58:39 2008 +0000 +++ b/libmpcodecs/vd_ijpg.c Sat Jan 12 15:01:05 2008 +0000 @@ -62,15 +62,15 @@ 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) 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 @@ 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 @@ } } } - - jpeg_finish_decompress(&cinfo); - jpeg_destroy_decompress(&cinfo); - + + jpeg_finish_decompress(&cinfo); + jpeg_destroy_decompress(&cinfo); + return mpi; }