changeset 8905:3c83f05884a0 libavcodec

Remove redundant assert(render) in ff_xvmc_init_block(). The immediately following if condition checks render and does an assert if it fails.
author diego
date Sun, 15 Feb 2009 01:24:09 +0000
parents 68ae28d8fad3
children 23f3b98db75c
files mpegvideo_xvmc.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo_xvmc.c	Sun Feb 15 00:52:16 2009 +0000
+++ b/mpegvideo_xvmc.c	Sun Feb 15 01:24:09 2009 +0000
@@ -38,7 +38,6 @@
 void ff_xvmc_init_block(MpegEncContext *s)
 {
     struct xvmc_render_state *render = (struct xvmc_render_state*)s->current_picture.data[2];
-    assert(render);
     if (!render || render->magic != AV_XVMC_RENDER_MAGIC) {
         assert(0);
         return; // make sure that this is a render packet