summaryrefslogtreecommitdiff
path: root/libavcodec/xvmcvideo.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-03-09 23:31:02 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-03-09 23:31:02 +0000
commit9701840bb539546bc0cfb1307b04655140851b04 (patch)
tree283d60d225a87c960c78d20975491802b3385797 /libavcodec/xvmcvideo.c
parent88855b51cdba35c2e7daf8351645d91cf85cb8af (diff)
add FF_ prefix to all (frame)_TYPE usage
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xvmcvideo.c')
-rw-r--r--libavcodec/xvmcvideo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/xvmcvideo.c b/libavcodec/xvmcvideo.c
index 1a112e1c87..461ba4a635 100644
--- a/libavcodec/xvmcvideo.c
+++ b/libavcodec/xvmcvideo.c
@@ -90,9 +90,9 @@ xvmc_render_state_t * render,* last, * next;
render->p_past_surface = NULL;
switch(s->pict_type){
- case I_TYPE:
+ case FF_I_TYPE:
return 0;// no prediction from other frames
- case B_TYPE:
+ case FF_B_TYPE:
next = (xvmc_render_state_t*)s->next_picture.data[2];
assert(next!=NULL);
assert(next->state & MP_XVMC_STATE_PREDICTION);
@@ -100,7 +100,7 @@ xvmc_render_state_t * render,* last, * next;
if(next->magic != MP_XVMC_RENDER_MAGIC) return -1;
render->p_future_surface = next->p_surface;
//no return here, going to set forward prediction
- case P_TYPE:
+ case FF_P_TYPE:
last = (xvmc_render_state_t*)s->last_picture.data[2];
if(last == NULL)// && !s->first_field)
last = render;//predict second field from the first