Mercurial > libavcodec.hg
comparison mpegvideo_xvmc.c @ 8872:706274a30a80 libavcodec
Remove one more commented-out line.
author | diego |
---|---|
date | Sat, 14 Feb 2009 19:41:16 +0000 |
parents | 199e9809eb5a |
children | 02c59b74ba71 |
comparison
equal
deleted
inserted
replaced
8871:199e9809eb5a | 8872:706274a30a80 |
---|---|
93 return -1; | 93 return -1; |
94 render->p_future_surface = next->p_surface; | 94 render->p_future_surface = next->p_surface; |
95 // no return here, going to set forward prediction | 95 // no return here, going to set forward prediction |
96 case FF_P_TYPE: | 96 case FF_P_TYPE: |
97 last = (struct xvmc_render_state*)s->last_picture.data[2]; | 97 last = (struct xvmc_render_state*)s->last_picture.data[2]; |
98 if (!last) // && !s->first_field) | 98 if (!last) |
99 last = render; // predict second field from the first | 99 last = render; // predict second field from the first |
100 if (last->magic != AV_XVMC_RENDER_MAGIC) | 100 if (last->magic != AV_XVMC_RENDER_MAGIC) |
101 return -1; | 101 return -1; |
102 render->p_past_surface = last->p_surface; | 102 render->p_past_surface = last->p_surface; |
103 return 0; | 103 return 0; |