[Mplayer-cvslog] CVS: main/libmpcodecs vd_qtvideo.c,1.12,1.13
Arpi of Ize
arpi at mplayerhq.hu
Mon Dec 16 03:39:02 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv29882
Modified Files:
vd_qtvideo.c
Log Message:
handle mencoder's 0-byte 'skipped frames'
Index: vd_qtvideo.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_qtvideo.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- vd_qtvideo.c 16 Dec 2002 01:49:39 -0000 1.12
+++ vd_qtvideo.c 16 Dec 2002 02:38:37 -0000 1.13
@@ -276,6 +276,8 @@
int i;
mp_image_t* mpi;
ComponentResult cres;
+
+ if(len<=0) return NULL; // skipped frame
mpi=mpcodecs_get_image(sh, MP_IMGTYPE_STATIC, MP_IMGFLAG_PRESERVE,
sh->disp_w, sh->disp_h);
More information about the MPlayer-cvslog
mailing list