[FFmpeg-cvslog] r17304 - trunk/libavcodec/mpegvideo_xvmc.c
diego
subversion
Sun Feb 15 02:24:10 CET 2009
Author: diego
Date: Sun Feb 15 02:24:09 2009
New Revision: 17304
Log:
Remove redundant assert(render) in ff_xvmc_init_block(). The immediately
following if condition checks render and does an assert if it fails.
Modified:
trunk/libavcodec/mpegvideo_xvmc.c
Modified: trunk/libavcodec/mpegvideo_xvmc.c
==============================================================================
--- trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 01:52:16 2009 (r17303)
+++ trunk/libavcodec/mpegvideo_xvmc.c Sun Feb 15 02:24:09 2009 (r17304)
@@ -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
More information about the ffmpeg-cvslog
mailing list