diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2009-02-14 16:53:42 +0000 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2009-02-14 16:53:42 +0000 |
commit | ef1b5ae2cda66765148856cd264c7174bab37120 (patch) | |
tree | 50be20fa749eb9bb41b6a65a2e54bda45e497c50 /libavcodec | |
parent | 1aa7abb28118f6e3b0596dbd1cc9f580fef126e1 (diff) | |
download | ffmpeg-streaming-ef1b5ae2cda66765148856cd264c7174bab37120.zip ffmpeg-streaming-ef1b5ae2cda66765148856cd264c7174bab37120.tar.gz |
remove assertion that use external definitions
Originally committed as revision 17241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo_xvmc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c index 78f8fd9..c04eb06 100644 --- a/libavcodec/mpegvideo_xvmc.c +++ b/libavcodec/mpegvideo_xvmc.c @@ -93,7 +93,6 @@ int XVMC_field_start(MpegEncContext*s, AVCodecContext *avctx) case FF_B_TYPE: next = (struct xvmc_render_state*)s->next_picture.data[2]; assert(next!=NULL); - assert(next->state & MP_XVMC_STATE_PREDICTION); if (next == NULL) return -1; if (next->magic != MP_XVMC_RENDER_MAGIC) @@ -106,7 +105,6 @@ int XVMC_field_start(MpegEncContext*s, AVCodecContext *avctx) last = render;//predict second field from the first if (last->magic != MP_XVMC_RENDER_MAGIC) return -1; - assert(last->state & MP_XVMC_STATE_PREDICTION); render->p_past_surface = last->p_surface; return 0; } |