diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-02-15 01:24:09 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-15 01:24:09 +0000 |
commit | 967d2ae616a1fc6ffc2c00810e09c232dfdb7911 (patch) | |
tree | f994e079d80187f676e0976c08b66c3226bb6752 | |
parent | e26f8d76d7421605734ac89bfb4354e8a98ca5b4 (diff) | |
download | ffmpeg-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.c | 1 |
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 |