[MPlayer-cvslog] r38362 - trunk/libmpcodecs/vf.c

reimar subversion at mplayerhq.hu
Tue Apr 5 21:26:16 EEST 2022


Author: reimar
Date: Tue Apr  5 21:26:16 2022
New Revision: 38362

Log:
vf.c: Remove asserts that (no longer?) make sense.

vf_get_image should have all the necessary handling.
Fixes crashes when playing Theora files when compiled
with --enable-debug.

Modified:
   trunk/libmpcodecs/vf.c

Modified: trunk/libmpcodecs/vf.c
==============================================================================
--- trunk/libmpcodecs/vf.c	Fri Mar 25 23:06:53 2022	(r38361)
+++ trunk/libmpcodecs/vf.c	Tue Apr  5 21:26:16 2022	(r38362)
@@ -283,8 +283,6 @@ mp_image_t* vf_get_image(vf_instance_t*
   int missing_palette;
 
 #ifdef MP_DEBUG
-  assert(w == -1 || w >= vf->w);
-  assert(h == -1 || h >= vf->h);
   assert(vf->w > 0);
   assert(vf->h > 0);
 #endif


More information about the MPlayer-cvslog mailing list