mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
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:
parent
e26f8d76d7
commit
967d2ae616
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user