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 /vhook/null.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 'vhook/null.c')
-rw-r--r-- | vhook/null.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vhook/null.c b/vhook/null.c index 24217e5ddb..f4da5c0b21 100644 --- a/vhook/null.c +++ b/vhook/null.c @@ -1,5 +1,5 @@ /* - * Null Video Hook + * Null Video Hook * Copyright (c) 2002 Philip Gladstone * * This library is free software; you can redistribute it and/or @@ -57,7 +57,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, buf = av_malloc(size); avpicture_fill(&picture1, buf, PIX_FMT_RGB24, width, height); - if (img_convert(&picture1, PIX_FMT_RGB24, + if (img_convert(&picture1, PIX_FMT_RGB24, picture, pix_fmt, width, height) < 0) { av_free(buf); return; @@ -68,7 +68,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, /* Insert filter code here */ if (pix_fmt != PIX_FMT_RGB24) { - if (img_convert(picture, pix_fmt, + if (img_convert(picture, pix_fmt, &picture1, PIX_FMT_RGB24, width, height) < 0) { } } |