[FFmpeg-cvslog] r17241 - trunk/libavcodec/mpegvideo_xvmc.c

iive subversion
Sat Feb 14 17:53:42 CET 2009


Author: iive
Date: Sat Feb 14 17:53:42 2009
New Revision: 17241

Log:
remove assertion that use external definitions

Modified:
   trunk/libavcodec/mpegvideo_xvmc.c

Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 17:43:35 2009	(r17240)
+++ trunk/libavcodec/mpegvideo_xvmc.c	Sat Feb 14 17:53:42 2009	(r17241)
@@ -93,7 +93,6 @@ int XVMC_field_start(MpegEncContext*s, A
         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 @@ int XVMC_field_start(MpegEncContext*s, A
                 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;
     }




More information about the ffmpeg-cvslog mailing list