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
This commit is contained in:
@ -38,7 +38,6 @@
|
|||||||
void ff_xvmc_init_block(MpegEncContext *s)
|
void ff_xvmc_init_block(MpegEncContext *s)
|
||||||
{
|
{
|
||||||
struct xvmc_render_state *render = (struct xvmc_render_state*)s->current_picture.data[2];
|
struct xvmc_render_state *render = (struct xvmc_render_state*)s->current_picture.data[2];
|
||||||
assert(render);
|
|
||||||
if (!render || render->magic != AV_XVMC_RENDER_MAGIC) {
|
if (!render || render->magic != AV_XVMC_RENDER_MAGIC) {
|
||||||
assert(0);
|
assert(0);
|
||||||
return; // make sure that this is a render packet
|
return; // make sure that this is a render packet
|
||||||
|
Reference in New Issue
Block a user