diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-12-17 18:14:38 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-12-17 18:14:38 +0000 |
commit | 115329f16062074e11ccf3b89ead6176606c9696 (patch) | |
tree | e98aa993905a702688bf821737ab9a443969fc28 /libavcodec/wnv1.c | |
parent | d76319b1ab716320f6e6a4d690b85fe4504ebd5b (diff) | |
download | ffmpeg-115329f16062074e11ccf3b89ead6176606c9696.tar.gz |
COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r-- | libavcodec/wnv1.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index 292c7e0426..ef718b8d0d 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -17,12 +17,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ - + /** * @file wnv1.c * Winnov WNV1 codec. */ - + #include "avcodec.h" #include "common.h" #include "bitstream.h" @@ -38,7 +38,7 @@ typedef struct WNV1Context{ static uint16_t code_tab[16][2]={ {0x1FD,9}, {0xFD,8}, {0x7D,7}, {0x3D,6}, {0x1D,5}, {0x0D,4}, {0x005,3}, -{0x000,1}, +{0x000,1}, {0x004,3}, {0x0C,4}, {0x1C,5}, {0x3C,6}, {0x7C,7}, {0xFC,8}, {0x1FC,9}, {0xFF,8} }; @@ -56,7 +56,7 @@ static inline int wnv1_get_code(WNV1Context *w, int base_value) return base_value + ((v - 7)<<w->shift); } -static int decode_frame(AVCodecContext *avctx, +static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) { @@ -93,7 +93,7 @@ static int decode_frame(AVCodecContext *avctx, l->shift = 1; } } - + Y = p->data[0]; U = p->data[1]; V = p->data[2]; @@ -109,10 +109,10 @@ static int decode_frame(AVCodecContext *avctx, V += p->linesize[2]; } - + *data_size = sizeof(AVFrame); *(AVFrame*)data = l->pic; - + return buf_size; } |