OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26f8d7
)
Remove redundant assert(render) in ff_xvmc_init_block(). The immediately
author
Diego Biurrun
<diego@biurrun.de>
Sun, 15 Feb 2009 01:24:09 +0000
(
01:24
+0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 15 Feb 2009 01:24:09 +0000
(
01:24
+0000)
following if condition checks render and does an assert if it fails.
Originally committed as revision 17304 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo_xvmc.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo_xvmc.c
b/libavcodec/mpegvideo_xvmc.c
index
121a50e
..
dc5dd74
100644
(file)
--- 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