aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-15 01:24:09 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-15 01:24:09 +0000
commit967d2ae616a1fc6ffc2c00810e09c232dfdb7911 (patch)
treef994e079d80187f676e0976c08b66c3226bb6752
parente26f8d76d7421605734ac89bfb4354e8a98ca5b4 (diff)
downloadffmpeg-967d2ae616a1fc6ffc2c00810e09c232dfdb7911.tar.gz
Remove redundant assert(render) in ff_xvmc_init_block(). The immediately
following if condition checks render and does an assert if it fails. Originally committed as revision 17304 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo_xvmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c
index 121a50ec01..dc5dd74ecb 100644
--- a/libavcodec/mpegvideo_xvmc.c
+++ b/libavcodec/mpegvideo_xvmc.c
@@ -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