Mercurial > mplayer.hg
changeset 8473:12d19b01d4c6
handle mencoder's 0-byte 'skipped frames'
author | arpi |
---|---|
date | Mon, 16 Dec 2002 02:38:37 +0000 |
parents | e241942f6aee |
children | 33db249dda88 |
files | libmpcodecs/vd_qtvideo.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_qtvideo.c Mon Dec 16 02:22:37 2002 +0000 +++ b/libmpcodecs/vd_qtvideo.c Mon Dec 16 02:38:37 2002 +0000 @@ -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);