{
Smart_Data *sd;
- E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
+ E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0);
if (sd->file) free(sd->file);
sd->file = NULL;
emotion_object_position_set(Evas_Object *obj, double sec)
{
Smart_Data *sd;
- int frame;
E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
if (!sd->module) return;
fr->frame.y = fr->vo_frame.base[0];
fr->frame.u = fr->vo_frame.base[1];
fr->frame.v = fr->vo_frame.base[2];
- fr->frame.bgra_data = NULL;
+ fr->frame.bgra_data = NULL;
fr->frame.y_stride = fr->vo_frame.pitches[0];
fr->frame.u_stride = fr->vo_frame.pitches[1];
fr->frame.v_stride = fr->vo_frame.pitches[2];
break;
case XINE_IMGFMT_YUY2:
{
- int y_size, uv_size;
-
- fr->frame.format = EMOTION_BGRA;
+ fr->frame.format = EMOTION_BGRA;
fr->vo_frame.pitches[0] = 8 * ((width + 3) / 4);
fr->vo_frame.pitches[1] = 0;
fr->vo_frame.pitches[2] = 0;