aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vd_libdv.c
diff options
context:
space:
mode:
authorGravatar Uoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:26:13 +0300
committerGravatar Uoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:34:35 +0300
commit0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch)
tree71cb9bd9ed121156d3382066c0722c73189afe04 /libmpcodecs/vd_libdv.c
parent6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff)
Remove trailing whitespace from most files
Diffstat (limited to 'libmpcodecs/vd_libdv.c')
-rw-r--r--libmpcodecs/vd_libdv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/vd_libdv.c b/libmpcodecs/vd_libdv.c
index 8f5c6996ed..7332629325 100644
--- a/libmpcodecs/vd_libdv.c
+++ b/libmpcodecs/vd_libdv.c
@@ -62,7 +62,7 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags)
{
mp_image_t* mpi;
dv_decoder_t *decoder=sh->context;
-
+
if(len<=0 || (flags&3)){
// fprintf(stderr,"decode() (rawdv) SKIPPED\n");
return NULL; // skipped frame
@@ -71,13 +71,13 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags)
dv_parse_header(decoder, data);
mpi=mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE, sh->disp_w, sh->disp_h);
-
+
if(!mpi){ // temporary!
fprintf(stderr,"couldn't allocate image for stderr codec\n");
return NULL;
}
dv_decode_full_frame(decoder, data, e_dv_color_yuv, mpi->planes, mpi->stride);
-
+
return mpi;
}