changeset 8842:6491f179eff0 libavcodec

remove assertion that use external definitions
author iive
date Sat, 14 Feb 2009 16:53:42 +0000
parents e4d2897f4bef
children 00c1d62c3852
files mpegvideo_xvmc.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo_xvmc.c	Sat Feb 14 16:43:35 2009 +0000
+++ b/mpegvideo_xvmc.c	Sat Feb 14 16:53:42 2009 +0000
@@ -93,7 +93,6 @@
         case  FF_B_TYPE:
             next = (struct xvmc_render_state*)s->next_picture.data[2];
             assert(next!=NULL);
-            assert(next->state & MP_XVMC_STATE_PREDICTION);
             if (next == NULL)
                 return -1;
             if (next->magic != MP_XVMC_RENDER_MAGIC)
@@ -106,7 +105,6 @@
                 last = render;//predict second field from the first
             if (last->magic != MP_XVMC_RENDER_MAGIC)
                 return -1;
-            assert(last->state & MP_XVMC_STATE_PREDICTION);
             render->p_past_surface = last->p_surface;
             return 0;
     }